-
Notifications
You must be signed in to change notification settings - Fork 973
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
**Problem** There is no default export from the `smol-toml` package and so usage such as that shown below does not quite work. ```ts import toml from 'smol-toml' toml.parse(...) ``` Instead the easiest change is to adopt: ```ts import * as toml from 'smol-toml' toml.parse(...) ``` which was already being used within a test file. **Changes** 1. Uses namespace imports for the smol toml package where that package is used. **Update** It is somewhat confusing that the `import toml from 'smol-toml'` does not appear to be working given that the documentation for the package says that you should be able to do things that way. I'll see if this change fixes the bug that I believe is happening. We can easily revert or update the usage here when we understand better.
- Loading branch information
1 parent
31853bc
commit 547f377
Showing
5 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters