8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9be2df1 commit a68e118Copy full SHA for a68e118
src/ts-api/index.ts
@@ -7,7 +7,7 @@ export type PropType<T> = T;
7
// type FullPropType<T> = T extends { required: boolean } ? T : T | undefined;
8
type Omit<T, K> = Pick<T, Exclude<keyof T, K>>;
9
type ComponentOptionsWithSetup<Props> = Omit<ComponentOptions<Vue>, 'props' | 'setup'> & {
10
- props: Props;
+ props?: Props;
11
setup?: (
12
this: undefined,
13
props: { [K in keyof Props]: Props[K] },
0 commit comments