Skip to content

v7.2.4 breaks "Mixins" decorator usage #435

@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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy