Skip to content

Commit 0a5fc0c

Browse files
committed
plugin: use tsgo for type checking
This is basically at feature parity except for crazy edge cases. Use this for npm run check instead of tsc.
1 parent ca38c87 commit 0a5fc0c

File tree

2 files changed

+120
-1
lines changed

2 files changed

+120
-1
lines changed

plugin/package-lock.json

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

plugin/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "2.2.1",
44
"description": "A Todoist plugin for Obsidian",
55
"scripts": {
6-
"check": "tsc --noEmit",
6+
"check": "tsgo --noEmit",
77
"dev": "npm run check && VITE_ENV=dev vite build",
88
"build": "vite build",
99
"test": "vitest",
@@ -36,6 +36,7 @@
3636
"@testing-library/react": "16.3.0",
3737
"@types/node": "24.0.13",
3838
"@types/react-dom": "19.1.0",
39+
"@typescript/native-preview": "^7.0.0-dev.20251130.1",
3940
"@vitejs/plugin-react": "4.6.0",
4041
"jsdom": "^24.0.0",
4142
"sass": "^1.71.1",

0 commit comments

Comments
 (0)