Skip to content

Commit

Permalink
Fix type-checking
Browse files Browse the repository at this point in the history
  • Loading branch information
simonwep committed Nov 13, 2024
1 parent 2f1ea65 commit afc147b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
}
},
"scripts": {
"build": "vite build",
"build": "tsc && vite build",
"dev": "vite"
},
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
}
},
"scripts": {
"build": "vite build",
"build": "tsc && vite build",
"dev": "vite"
},
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/vanilla/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
}
},
"scripts": {
"build": "vite build",
"build": "tsc && vite build",
"dev": "vite"
},
"files": [
Expand Down
3 changes: 1 addition & 2 deletions packages/vanilla/src/types.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import type SelectionArea from './index';
import type {Intersection} from './utils';

/* eslint-disable @typescript-eslint/no-unused-vars */
export type DeepPartial<T> =
T extends (infer U)[] ? T :
T extends unknown[] ? T :
T extends HTMLElement ? T :
{ [P in keyof T]?: DeepPartial<T[P]>; };

Expand Down
2 changes: 1 addition & 1 deletion packages/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
}
},
"scripts": {
"build": "vite build",
"build": "vue-tsc && vite build",
"dev": "vite"
},
"files": [
Expand Down

0 comments on commit afc147b

Please sign in to comment.