Skip to content

Angular5+ Serialization Plugin #2

@johnstrickler

Description

@johnstrickler

Currently, Angular's HttpClient library supports typed returns, for example:

HttpClient.get<Foo>(...); 

However, Angular returns a "structural subtype" that conforms to Foo which is really a generic object that conforms to the properties defined by Foo.

It'd be nice if we can take this a step further and have a plugin that uses ts-parse that will provide a real instance of Foo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions