这是indexloc提供的服务,不要输入任何密码
Skip to content

Interop Gen: Support Constructor Types #410

@nikeokoronkwo

Description

@nikeokoronkwo

This issue is to add support for TypeScript Constructor Types in the Dart TS Interop Interface Generator.

// assuming there is a class called `MyClass` defined
export declare const myConstructor: new () => MyClass;

This will be helpful when working with namespaces (see #399), as translating classes defined in namespaces would mean interfacing class calls as constructor type calls.

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