mirror of
https://github.com/vuejs/vue.git
synced 2024-11-22 04:39:46 +00:00
add the type of props in typescript definitions
This commit is contained in:
parent
22f9560c92
commit
ef40d1b7cf
1
types/vue.d.ts
vendored
1
types/vue.d.ts
vendored
@ -42,6 +42,7 @@ export declare class Vue {
|
||||
readonly $slots: { [key: string]: VNode[] };
|
||||
readonly $scopedSlots: { [key: string]: ScopedSlot };
|
||||
readonly $isServer: boolean;
|
||||
$props: Object;
|
||||
|
||||
$mount(elementOrSelector?: Element | String, hydrating?: boolean): this;
|
||||
$forceUpdate(): void;
|
||||
|
Loading…
Reference in New Issue
Block a user