Skip to content

Commit

Permalink
Set up type checking for sharing-editor (#1264)
Browse files Browse the repository at this point in the history
  • Loading branch information
whitphx authored Jan 14, 2025
1 parent 690d7be commit bdf4cbd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/sharing-editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"start:web": "vite",
"start:sampleapps": "chokidar 'public/samples/**/*' -c \"yarn build:sampleapps\" --initial",
"start": "run-p start:web start:sampleapps",
"build:web": "vite build",
"build:web": "tsc --noEmit && vite build",
"build:sampleapps": "ts-node bin/gen-sample-app-manifests-json.ts",
"build": "yarn build:sampleapps && yarn build:web",
"test": "vitest",
Expand Down
3 changes: 2 additions & 1 deletion packages/sharing-editor/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx"
"jsx": "react-jsx",
"types": ["vite/client"]
},
"include": ["src"]
}

0 comments on commit bdf4cbd

Please sign in to comment.