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
class Story {
name: String;
}
class Travel {
story: boolean | Story;
}
var travelA:Travel = {story: true};
var travelB:Travel = {story: {name:"Best time in Nepal"}}
Can you use json-typescript-mapper to deserialize travelA and travelB ?
The text was updated successfully, but these errors were encountered:
In typescript, you can do this:
Can you use json-typescript-mapper to deserialize travelA and travelB ?
The text was updated successfully, but these errors were encountered: