Closed sheetalkamat closed 7 months ago
https://github.com/microsoft/TypeScript/issues/53154 while looking into this, found out that the typeRoots are set incorrectly and project will have errors building with typescript@next
The typeRoots https://github.com/tldraw/tldraw/blob/main/tsconfig.base.json#L31 should be changed to ["node_modules/@types", "node_modules"]
["node_modules/@types", "node_modules"]
Closing this as we won't be addressing a fix for this verison. Check https://github.com/tldraw/tldraw for the latest! And please share there if the bug persists.
https://github.com/microsoft/TypeScript/issues/53154 while looking into this, found out that the typeRoots are set incorrectly and project will have errors building with typescript@next
The typeRoots https://github.com/tldraw/tldraw/blob/main/tsconfig.base.json#L31 should be changed to
["node_modules/@types", "node_modules"]