The Wayback Machine - https://web.archive.org/web/20201213034746/https://github.com/vuejs/vue-class-component/commit/bdcec6915af5f2f9669ff7940e82b07b294b12af
Skip to content
Permalink
Browse files

fix: make mixins helper type compatible with previous usage (#454)

  • Loading branch information
ktsn committed Sep 17, 2020
1 parent bb3c645 commit bdcec6915af5f2f9669ff7940e82b07b294b12af
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/util.ts
@@ -52,6 +52,7 @@ export function mixins <A, B> (CtorA: VueClass<A>, CtorB: VueClass<B>): VueClass
export function mixins <A, B, C> (CtorA: VueClass<A>, CtorB: VueClass<B>, CtorC: VueClass<C>): VueClass<A & B & C>
export function mixins <A, B, C, D> (CtorA: VueClass<A>, CtorB: VueClass<B>, CtorC: VueClass<C>, CtorD: VueClass<D>): VueClass<A & B & C & D>
export function mixins <A, B, C, D, E> (CtorA: VueClass<A>, CtorB: VueClass<B>, CtorC: VueClass<C>, CtorD: VueClass<D>, CtorE: VueClass<E>): VueClass<A & B & C & D & E>
export function mixins<T>(...Ctors: VueClass<Vue>[]): VueClass<T>

export function mixins<T extends VueClass<Vue>[]>(...Ctors: T): MixedVueClass<T>
export function mixins (...Ctors: VueClass<Vue>[]): VueClass<Vue> {

0 comments on commit bdcec69

Please sign in to comment.
You can’t perform that action at this time.