Skip to content

Commit 31e767d

Browse files
committed
type
1 parent 3c24704 commit 31e767d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ type ComponentOption = {
5353
provide?: Record<string, any> | Function
5454
components?: Record<string, any>
5555
directives?: Record<string, any>;
56-
inheritAttrs?: true;
56+
inheritAttrs?: boolean;
5757
expose?: string[];
5858
modifier?: (raw: any) => any
5959
}

src/option/watch.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ export interface WatchConfig {
55
key: string
66
handler: WatchCallback,
77
flush?: 'post',
8-
deep?: true,
9-
immediate?: true,
8+
deep?: boolean,
9+
immediate?: boolean,
1010
}
1111
export function decorator(key: string, option?: Omit<WatchConfig, 'handler' | 'key'>) {
1212

0 commit comments

Comments
 (0)