Skip to content

Commit 76797c9

Browse files
docs: final drafting
1 parent bbb877d commit 76797c9

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/pages/docs/resources/typescript.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,7 @@ Currently TypeScript only supports types for standard [JSON Import Attributes](h
9696

9797
## Type Imports
9898

99-
Due to how bundlers and other [type-aware tools handle type based imports](https://github.com/ProjectEvergreen/greenwood/issues/1576#issuecomment-3795821236), you will need to make sure the `type` is at the _**top level**_ of the import statement to prevent side-effect imports from being included in your bundles.
100-
101-
Example:
99+
Due to how bundlers and other [type-aware tools handle `type` based imports](https://github.com/ProjectEvergreen/greenwood/issues/1576#issuecomment-3795821236), you will need to make sure the `type` qualifier is at the _**top level**_ of the import statement so as to prevent side-effectful import statements from being left behind and included in your bundles.
102100

103101
```ts
104102
// ✅ DO THIS

0 commit comments

Comments
 (0)