-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem importing #8
Comments
@tanjunior The solution for this case mentioned here #6 (comment) by creating another d.ts file |
vscode doesn't complain about import errors anymore but getting this error when running. EDIT: Importing it from
EDIT2: |
@tanjunior Checked your codesandbox. It seems you didn't include in tsconfig your d.ts file, that's why it's complaining of ts-error. "include": ["next-env.d.ts", "/*.ts", "/.tsx", ".next/types/**/.ts", YOUR_DTS]. Check tsconfig.json |
Doing that still doesn't let me import |
Could not import
The text was updated successfully, but these errors were encountered: