This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Product { | |
constructor( | |
public readonly name: string, | |
public readonly weight: number, | |
public readonly isLiquid: boolean = false | |
) { } | |
} | |
type ShippingMethod = 'USPS' | 'UPS' | 'FedEx' | 'DHL' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"AWSTemplateFormatVersion": "2010-09-09", | |
"Description": "Test stack", | |
"Metadata": {}, | |
"Parameters": { | |
"AppSyncApiId": { | |
"Type": "String", | |
"Description": "The id of the AppSync API associated with this project." | |
} | |
}, |