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 3c24704 commit 31e767dCopy full SHA for 31e767d
src/component.ts
@@ -53,7 +53,7 @@ type ComponentOption = {
53
provide?: Record<string, any> | Function
54
components?: Record<string, any>
55
directives?: Record<string, any>;
56
- inheritAttrs?: true;
+ inheritAttrs?: boolean;
57
expose?: string[];
58
modifier?: (raw: any) => any
59
}
src/option/watch.ts
@@ -5,8 +5,8 @@ export interface WatchConfig {
5
key: string
6
handler: WatchCallback,
7
flush?: 'post',
8
- deep?: true,
9
- immediate?: true,
+ deep?: boolean,
+ immediate?: boolean,
10
11
export function decorator(key: string, option?: Omit<WatchConfig, 'handler' | 'key'>) {
12
0 commit comments