Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

Commit 509e93e

Browse files
author
Matt Goo
committed
chore(infrastructure): add esmoduleinterop to tsconfig (#818)
1 parent 4dbc8b8 commit 509e93e

File tree

213 files changed

+569
-519
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

213 files changed

+569
-519
lines changed

docs/best-practices.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,4 @@ Since `[email protected]` is exporting `default`, we should be importing as such:
2727
```ts
2828
// referenced in https://github.com/basarat/typescript-book/blob/master/docs/project/external-modules.md#default-exportsimports
2929
import classnames from 'classnames';
30-
```
31-
32-
In other cases where we import modules that do not use `default`, we should import like:
33-
```ts
34-
import * as classnames from 'classnames';
3530
```

0 commit comments

Comments
 (0)