Skip to content

Commit 0c49831

Browse files
committed
types(v-node-directive): changed expression type of VNodeDerective to optional string
fix vuejs#10871
1 parent bce5b98 commit 0c49831

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/vnode.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export interface VNodeDirective {
6969
name: string;
7070
value?: any;
7171
oldValue?: any;
72-
expression?: any;
72+
expression?: string;
7373
arg?: string;
7474
oldArg?: string;
7575
modifiers?: { [key: string]: boolean };

0 commit comments

Comments
 (0)