Skip to content

Commit 9f9213d

Browse files
authored
remove unnecessary annotations
1 parent 151c9c8 commit 9f9213d

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

lib/Entrypoint.js

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,17 @@
77
/** @typedef {import("./Chunk.js")} Chunk */
88

99
const ChunkGroup = require("./ChunkGroup");
10+
1011
/**
11-
*
12-
* @description Entrypoint serves as an encapsulation primitive for chunks that are
12+
* Entrypoint serves as an encapsulation primitive for chunks that are
1313
* a part of a single ChunkGroup. They represent all bundles that need to be loaded for a
1414
* single instance of a page. Multi-page application architectures will typically yield multiple Entrypoint objects
1515
* inside of the compilation, whereas a Single Page App may only contain one with many lazy-loaded chunks.
16-
* @class Entrypoint
17-
* @extends {ChunkGroup}
1816
*/
1917
class Entrypoint extends ChunkGroup {
2018
/**
2119
* Creates an instance of Entrypoint.
2220
* @param {string} name the name of the entrypoint
23-
* @memberof Entrypoint
2421
*/
2522
constructor(name) {
2623
super(name);
@@ -29,28 +26,25 @@ class Entrypoint extends ChunkGroup {
2926
}
3027

3128
/**
32-
* @description isInitial will always return true for Entrypoint ChunkGroup.
29+
* isInitial will always return true for Entrypoint ChunkGroup.
3330
* @return {true} returns true as all entrypoints are initial ChunkGroups
34-
* @memberof Entrypoint
3531
*/
3632
isInitial() {
3733
return true;
3834
}
3935

4036
/**
41-
* @description Sets the runtimeChunk for an entrypoint.
37+
* Sets the runtimeChunk for an entrypoint.
4238
* @param {Chunk} chunk the chunk being set as the runtime chunk.
4339
* @return {void}
44-
* @memberof Entrypoint
4540
*/
4641
setRuntimeChunk(chunk) {
4742
this.runtimeChunk = chunk;
4843
}
4944

5045
/**
51-
* @description Fetches the chunk reference containing the webpack bootstrap code
46+
* Fetches the chunk reference containing the webpack bootstrap code
5247
* @return {Chunk} returns the runtime chunk or first chunk in `this.chunks`
53-
* @memberof Entrypoint
5448
*/
5549
getRuntimeChunk() {
5650
return this.runtimeChunk || this.chunks[0];

0 commit comments

Comments
 (0)