Skip to content

Commit 64cf77f

Browse files
committed
chore: setup tsgo
1 parent cea3839 commit 64cf77f

3 files changed

Lines changed: 81 additions & 6 deletions

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"dev": "tsdown -w",
6161
"lint": "eslint .",
6262
"lint:fix": "nr lint --fix",
63-
"typecheck": "tsc",
63+
"typecheck": "tsgo",
6464
"play": "pnpm -C playground run dev",
6565
"prepublishOnly": "nr build",
6666
"release": "bumpp",
@@ -98,6 +98,7 @@
9898
"@types/node": "^25.0.8",
9999
"@types/picomatch": "^4.0.2",
100100
"@types/resolve": "^1.20.6",
101+
"@typescript/native-preview": "7.0.0-dev.20260114.1",
101102
"@vueuse/metadata": "^14.1.0",
102103
"bumpp": "^10.4.0",
103104
"eslint": "^9.39.2",

pnpm-lock.yaml

Lines changed: 78 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tsdown.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { defineConfig } from 'tsdown'
22

33
export default defineConfig({
44
entry: ['src/*.ts'],
5-
dts: true,
5+
dts: { tsgo: true },
66
exports: true,
77
inlineOnly: ['@antfu/utils'],
88
external: [

0 commit comments

Comments
 (0)