Type Aliases


Type alias declarations can be used to represent primitive types AND object-like data structures

type myType = string | { 
   property_id: number,
   property_name: string,
   property_hasPurchased: boolean,
};



© 2022 Better Solutions Limited. All Rights Reserved. © 2022 Better Solutions Limited TopPrevNext