Skip to content

v7.2.4 breaks "Mixins" decorator usage #435

Closed
@Ky6uk

Description

@Ky6uk

After upgrading from v7.2.3 to v7.2.4 I'm getting a lot of different TypeScript compilation errors because of using Mixins decorator as generics. Something like

Type 'MixinName<Data>' does not satisfy the constraint 'VueClass<Vue>[]'.

I'm using mixins like that

@Component
export class MixinName<T> extends Vue {
  // ...
}
export default class Page extends Mixins<MixinName<Data>>(MixinName) {
  // ...
}

It looks like breaking changes has been introduced in v7.2.4, but I have no idea what wrong exactly. v7.2.3 works perfectly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions