Skip to content

Commit 4a73442

Browse files
Bump @tsd/typescript from 4.7.4 to 4.8.3 (#136)
Co-authored-by: Flo Edelmann <florian-edelmann@online.de>
1 parent c77be71 commit 4a73442

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
},
3636
"homepage": "https://github.com/FloEdelmann/vue-ts-types",
3737
"devDependencies": {
38-
"@tsd/typescript": "^4.7.4",
38+
"@tsd/typescript": "^4.8.3",
3939
"@types/jest": "^28.1.8",
4040
"@typescript-eslint/eslint-plugin": "^5.36.2",
4141
"@typescript-eslint/parser": "^5.36.2",

type-tests/utils.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import Vue from 'vue2-6';
2+
import type { PropOptions } from 'vue2-6/types/options';
23
import type { ExtendedVue } from 'vue2-6/types/vue';
34

45
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
5-
export const createVue2Component = <T>(prop: T) => Vue.component('test', {
6+
export const createVue2Component = <T extends PropOptions>(prop: T) => Vue.component('test', {
67
props: { prop },
78
});
89

0 commit comments

Comments
 (0)