Skip to content

Lack of ability to customize __extend() function #1193

Closed
@Sleepyowl

Description

@Sleepyowl

__extend() function generated by TypeScript is mostly compatible with inheritance mechanisms used by Backbone and Knockback. However, compared to Knockback extend() function, it lacks a couple of steps which leads to faulty behaviour of view models subclassed from Knockback ViewModel using TypeScript inheritance syntax.

I would like to be able to customize the way TypeScript generates inheritance code so it's possible to use TypeScript inheritance syntax with javascript libraries using their own inheritance patterns.

Metadata

Metadata

Assignees

No one assigned

    Labels

    By DesignDeprecated - use "Working as Intended" or "Design Limitation" insteadExternalRelates to another program, environment, or user action which we cannot control.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions