Skip to content

Commit d230134

Browse files
chore: update TypeScript configuration to allow importing .ts extensions
1 parent b2407ef commit d230134

File tree

3 files changed

+4
-47
lines changed

3 files changed

+4
-47
lines changed

.storybook/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { StorybookConfig } from '@storybook/vue3-vite'
22
import { mergeConfig } from 'vite'
3-
import { primitivesPackagesAlias } from '../scripts_c/output'
3+
import { primitivesPackagesAlias } from '../scripts_c/output.ts'
44

55
const resolve = (val: string) => new URL(val, import.meta.url).pathname
66

.storybook/tsconfig.json

Lines changed: 0 additions & 43 deletions
This file was deleted.

tsconfig.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@
1515
"node"
1616
// "@vitest/browser/providers/wbdriverio"
1717
],
18+
"allowImportingTsExtensions": true,
1819
"strict": true,
1920
"strictNullChecks": true,
2021
"noUnusedLocals": true,
22+
"noEmit": true,
2123
"outDir": "./dist",
2224
"esModuleInterop": true,
2325
"forceConsistentCasingInFileNames": true,
2426
"skipLibCheck": true
2527
}
26-
// "include": [
27-
// "./vitest.setup.ts"
28-
// ]
28+
2929
}

0 commit comments

Comments
 (0)