Typescript won't compile for Nextjs project #380
-
Beta Was this translation helpful? Give feedback.
Answered by
michael-nelms
Jul 30, 2024
Replies: 1 comment 1 reply
-
|
Nvm I figured it out. Maybe this will help someone else. I was accidentally importing a module like Switching my tsconfig |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
bvaughn
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Nvm I figured it out. Maybe this will help someone else.
I was accidentally importing a module like
import { ImperativePanelHandle } from 'react-resizable-panels/src/Panel'Switching my tsconfig
moduleResolutionfield tobundlerpointed out where the issue was. Fixed the import and now everything compiles.