Skip to content

Commit

Permalink
fix(types): add types for Vue.util.warn function (#11964)
Browse files Browse the repository at this point in the history
  • Loading branch information
FloEdelmann committed Mar 30, 2021
1 parent 987f322 commit e0274e4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions types/vue.d.ts
Expand Up @@ -121,6 +121,10 @@ export interface VueConstructor<V extends Vue = Vue> {

observable<T>(obj: T): T;

util: {
warn(msg: string, vm?: InstanceType<VueConstructor>): void;
};

config: VueConfiguration;
version: string;
}
Expand Down

0 comments on commit e0274e4

Please sign in to comment.