Skip to content

Commit 204ce6d

Browse files
committed
Fix typo
1 parent 5a0ed83 commit 204ce6d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

‎packages/docs/src/content/docs/guides/namespace-imports.md‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,14 @@ export { NS };
3535

3636
If this all usage of the `NS` namespace object, we also don't know whether
3737
individual exports like `version` or `getRocket` will be used. However, if at
38-
least one reference to a property such as `NS.end` is found, then the individual
39-
exports are considered separately again and `start` will be marked as unused:
38+
least one reference to a property such as `NS.version` is found, then the
39+
individual exports are considered separately again and `getRocket` will be
40+
marked as unused:
4041

4142
```ts title="index.ts"
4243
import { NS } from './my-module.js';
4344

44-
const finish = NS.end;
45+
const version = NS.version;
4546
```
4647

4748
## The default heuristic

0 commit comments

Comments
 (0)