You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
src/store/features/users/slice.ts:3:8 - error TS1192: Module '"E:/picture-bed/node_modules/.pnpm/@types[email protected]/node_modules/@types/lodash-es/index"' has no default export.
π Expected behavior
I expected to be able to use the syntax import _ from 'lodash-es'; without errors, as allowSyntheticDefaultImports should allow default imports for modules that do not have a default export.
Additional information about the issue
No response
The text was updated successfully, but these errors were encountered:
@RyanCavanaugh
This will make me very confused, I am using vscode development, but ts is not reporting errors in the editor, nor is it using the build tool. It only appears when tsc checks, is there any option that can be controlled? I want this to be unified
π Search Terms
allowSyntheticDefaultImports
lodash-es
π Version & Regression Information
Version 4. x does not support 'moduleSolution': 'Bundler', so I only tried 5.6.2
β― Playground Link
https://github.com/bosens-China/picture-bed
π» Code
π Actual behavior
src/store/features/users/slice.ts:3:8 - error TS1192: Module '"E:/picture-bed/node_modules/.pnpm/@types[email protected]/node_modules/@types/lodash-es/index"' has no default export.
π Expected behavior
I expected to be able to use the syntax import _ from 'lodash-es'; without errors, as allowSyntheticDefaultImports should allow default imports for modules that do not have a default export.
Additional information about the issue
No response
The text was updated successfully, but these errors were encountered: