https://livekit.io logo
Title
g

green-businessperson-66630

05/25/2023, 6:39 AM
Hello everyone! Has anyone ever encountered such an error when building? I tried disabling the isolatedModules parameter in tsconfig, but it is mandatory when using nextjs
2023-05-25 09:23:55 ./node_modules/@livekit/components-react/src/context/index.ts:4:3
2023-05-25 09:23:55 Type error: Re-exporting a type when 'isolatedModules' is enabled requires using 'export type'.
2023-05-25 09:23:55
2023-05-25 09:23:55   2 | export {
2023-05-25 09:23:55   3 |   LayoutContext,
2023-05-25 09:23:55 > 4 |   LayoutContextType,
2023-05-25 09:23:55     |   ^
2023-05-25 09:23:55   5 |   useCreateLayoutContext,
2023-05-25 09:23:55   6 |   useEnsureCreateLayoutContext,
2023-05-25 09:23:55   7 |   useEnsureLayoutContext,
e

eager-zoo-16408

05/25/2023, 10:21 AM
Thanks for reporting 🙏 Should be fixed by this PR: https://github.com/livekit/components-js/pull/491
❤️ 1