X Tutup
Skip to content

issue(typings): include constructor definitions for classes in .d.ts #3938

@valorkin

Description

@valorkin

Became important when you extend, for example, DefaultValueAccessor to work with ng-model
and see a list of errors:

ERROR in ./rating/rating.ts
(50,5): Supplied parameters do not match any signature of call target. (2346)

ERROR in ./timepicker/timepicker.ts
(151,5): Supplied parameters do not match any signature of call target. (2346)
...

I was trying to do it my self but, but constructor type parameters are come as string, not parsed, to dgeni templates

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

      X Tutup