You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
support mapping specific java classe to custom TypeScript type declaration #76
Instead of asking to emit TypeScript interface for specific Java type, allow specifying the TypeScript type declaration (and type name) to be used instead.
You might have LocalDate class in Java, and want it to be aliased with JavaScript Date:
typeLocalDate=Date;
Example 3
You might have LocalDate class in Java, and custom deserializer that can accept either string or number, so that in TypeScript You should be able to assign either of them to that type:
Activity
atsu85 commentedon Feb 18, 2017
I'll send a PR soon
feat(typeMapping): fix raphaeljolivet#76 - allow adding type mapping …
feat(typeMapping): fix raphaeljolivet#76 - allow adding type mapping …
feat(typeMapping): fix raphaeljolivet#76 - allow adding type mapping …
Merge pull request #77 from atsu85/issue-76-javaType-to-TS-Declare-Type