long.js icon indicating copy to clipboard operation
long.js copied to clipboard

Cannot import package using ES modules

Open enricoangelon opened this issue 2 years ago • 1 comments

When trying to import the package by following documentation, I am getting this error: "..long/index"' can only be default-imported using the 'allowSyntheticDefaultImports' flag, but that flag is already enabled in my typescript config. Screenshot (97)

enricoangelon avatar Jan 14 '23 18:01 enricoangelon

Just noticed it's a duplicate of #109.

enricoangelon avatar Jan 14 '23 18:01 enricoangelon