Skip to content

Angular5+ Serialization Plugin #2

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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