Skip to content

Commit

Permalink
fix(types): unifying code style (vuejs#9692)
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos committed Mar 18, 2019
1 parent 7e8c3d0 commit 8e0d56a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/options.d.ts
Expand Up @@ -144,7 +144,7 @@ export interface RenderContext<Props=DefaultProps> {
injections: any
}

export type Prop<T> = { (): T } | { new(...args: any[]): T & object } | {new(...args: string[]): Function;}
export type Prop<T> = { (): T } | { new(...args: any[]): T & object } | { new(...args: string[]): Function }

export type PropType<T> = Prop<T> | Prop<T>[];

Expand Down

0 comments on commit 8e0d56a

Please sign in to comment.