Skip to content

Commit 136ee7b

Browse files
committed
fixup!
1 parent 2fbbb71 commit 136ee7b

1 file changed

Lines changed: 24 additions & 24 deletions

File tree

‎types.d.ts‎

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1574,7 +1574,7 @@ declare class Chunk {
15741574
get entryModule(): Module;
15751575

15761576
/**
1577-
* Checks whether this chunk has entry module.
1577+
* Checks whether this chunk has an entry module.
15781578
* @deprecated
15791579
*/
15801580
hasEntryModule(): boolean;
@@ -1592,7 +1592,7 @@ declare class Chunk {
15921592
removeModule(module: Module): void;
15931593

15941594
/**
1595-
* Gets number of modules.
1595+
* Gets the number of modules in this chunk.
15961596
* @deprecated
15971597
*/
15981598
getNumberOfModules(): number;
@@ -1603,13 +1603,13 @@ declare class Chunk {
16031603
get modulesIterable(): Iterable<Module>;
16041604

16051605
/**
1606-
* Compares the provided values and returns their ordering.
1606+
* Compares this chunk with another chunk.
16071607
* @deprecated
16081608
*/
16091609
compareTo(otherChunk: Chunk): 0 | 1 | -1;
16101610

16111611
/**
1612-
* Returns true, if the chunk contains the module.
1612+
* Checks whether this chunk contains the module.
16131613
* @deprecated
16141614
*/
16151615
containsModule(module: Module): boolean;
@@ -1621,25 +1621,25 @@ declare class Chunk {
16211621
getModules(): Module[];
16221622

16231623
/**
1624-
* Describes how this remove operation behaves.
1624+
* Removes this chunk from the chunk graph and chunk groups.
16251625
* @deprecated
16261626
*/
16271627
remove(): void;
16281628

16291629
/**
1630-
* Processes the provided module.
1630+
* Moves a module from this chunk to another chunk.
16311631
* @deprecated
16321632
*/
16331633
moveModule(module: Module, otherChunk: Chunk): void;
16341634

16351635
/**
1636-
* Returns true, if the specified chunk has been integrated.
1636+
* Integrates another chunk into this chunk when possible.
16371637
* @deprecated
16381638
*/
16391639
integrate(otherChunk: Chunk): boolean;
16401640

16411641
/**
1642-
* Checks whether it can be integrated.
1642+
* Checks whether this chunk can be integrated with another chunk.
16431643
* @deprecated
16441644
*/
16451645
canBeIntegrated(otherChunk: Chunk): boolean;
@@ -1651,7 +1651,7 @@ declare class Chunk {
16511651
isEmpty(): boolean;
16521652

16531653
/**
1654-
* Returns total size of all modules in this chunk.
1654+
* Returns the total size of all modules in this chunk.
16551655
* @deprecated
16561656
*/
16571657
modulesSize(): number;
@@ -1663,7 +1663,7 @@ declare class Chunk {
16631663
size(options?: ChunkSizeOptions): number;
16641664

16651665
/**
1666-
* Returns total size of the chunk or false if the chunk can't be integrated.
1666+
* Returns the integrated size with another chunk.
16671667
* @deprecated
16681668
*/
16691669
integratedSize(otherChunk: Chunk, options: ChunkSizeOptions): number;
@@ -1675,7 +1675,7 @@ declare class Chunk {
16751675
getChunkModuleMaps(filterFn: (m: Module) => boolean): ChunkModuleMaps;
16761676

16771677
/**
1678-
* Checks whether this chunk contains the filter fn.
1678+
* Checks whether this chunk contains a matching module in the graph.
16791679
* @deprecated
16801680
*/
16811681
hasModuleInGraph(
@@ -3641,9 +3641,9 @@ declare class Compilation {
36413641
assignDepth(module: Module): void;
36423642

36433643
/**
3644-
* Processes the provided module.
3644+
* Assigns depth values to the provided modules.
36453645
*/
3646-
assignDepths(modules: Set<Module>): void;
3646+
assignDepths(modules: Module[] | Set<Module>): void;
36473647

36483648
/**
36493649
* Gets dependency referenced exports.
@@ -13661,7 +13661,7 @@ declare class Module extends DependenciesBlock {
1366113661

1366213662
/**
1366313663
* Returns the module id assigned by the chunk graph.
13664-
* Updates id using the provided value.
13664+
* Updates the module id using the provided value.
1366513665
* @deprecated
1366613666
* @deprecated
1366713667
*/
@@ -13674,7 +13674,7 @@ declare class Module extends DependenciesBlock {
1367413674
get hash(): string;
1367513675

1367613676
/**
13677-
* Gets rendered hash.
13677+
* Returns the rendered hash of the module.
1367813678
* @deprecated
1367913679
*/
1368013680
get renderedHash(): string;
@@ -13686,32 +13686,32 @@ declare class Module extends DependenciesBlock {
1368613686
profile?: ModuleProfile;
1368713687

1368813688
/**
13689-
* Returns the pre order index.
13690-
* Updates index using the provided value.
13689+
* Returns the pre-order index.
13690+
* Updates the pre-order index using the provided value.
1369113691
* @deprecated
1369213692
* @deprecated
1369313693
*/
1369413694
index: null | number;
1369513695

1369613696
/**
13697-
* Returns the post order index.
13698-
* Updates index2 using the provided value.
13697+
* Returns the post-order index.
13698+
* Updates the post-order index using the provided value.
1369913699
* @deprecated
1370013700
* @deprecated
1370113701
*/
1370213702
index2: null | number;
1370313703

1370413704
/**
1370513705
* Returns the depth.
13706-
* Updates depth using the provided value.
13706+
* Updates the depth using the provided value.
1370713707
* @deprecated
1370813708
* @deprecated
1370913709
*/
1371013710
depth: null | number;
1371113711

1371213712
/**
13713-
* Returns issuer.
13714-
* Updates issuer using the provided value.
13713+
* Returns the issuer.
13714+
* Updates the issuer using the provided value.
1371513715
* @deprecated
1371613716
* @deprecated
1371713717
*/
@@ -13749,7 +13749,7 @@ declare class Module extends DependenciesBlock {
1374913749
removeChunk(chunk: Chunk): void;
1375013750

1375113751
/**
13752-
* Checks whether this module is in chunk.
13752+
* Checks whether this module is in the provided chunk.
1375313753
* @deprecated
1375413754
*/
1375513755
isInChunk(chunk: Chunk): boolean;
@@ -13775,7 +13775,7 @@ declare class Module extends DependenciesBlock {
1377513775
get chunksIterable(): Iterable<Chunk>;
1377613776

1377713777
/**
13778-
* Checks whether this module is provided.
13778+
* Checks whether this module provides the specified export.
1377913779
* @deprecated
1378013780
*/
1378113781
isProvided(exportName: string): null | boolean;

0 commit comments

Comments
 (0)