Skip to content

Commit b8f718a

Browse files
committed
fix(website): allow importing ts extensions
The docs site compiles `packages/react/src` example components directly (via the `@examples` alias). Now that source imports carry explicit `.ts`/`.tsx` extensions, the Next.js type check needs `allowImportingTsExtensions` enabled, mirroring `packages/tsconfig.json`.
1 parent 1f3b876 commit b8f718a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

website/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"compilerOptions": {
3+
"allowImportingTsExtensions": true,
34
"allowJs": true,
45
"baseUrl": ".",
56
"esModuleInterop": true,

0 commit comments

Comments
 (0)