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
I've just added imagekit-nodejs to my Nextjs project, and couldn't get the build to run.
./node_modules/imagekit/libs/interfaces/index.ts:18:3
Type error: Re-exporting a type when the '--isolatedModules' flag is provided requires using 'export type'.
16 |
17 | export {
> 18 | ImageKitOptions,
| ^
19 | Transformation,
20 | TransformationPosition,
21 | UploadOptions,
error Command failed with exit code 1.
The build works if I manually add type to the 2 exports in node_modules/imagekit/libs/interfaces/index.ts
I've just added imagekit-nodejs to my Nextjs project, and couldn't get the build to run.
The build works if I manually add
type
to the 2 exports in node_modules/imagekit/libs/interfaces/index.tshttps://github.com/imagekit-developer/imagekit-nodejs/blob/master/libs/interfaces/index.ts#L17
The text was updated successfully, but these errors were encountered: