sparse-intern-71089
05/18/2022, 11:32 AMancient-eve-13947
05/18/2022, 11:35 AMexport interface ITest
{
get name(): string;
}
ancient-eve-13947
05/18/2022, 11:36 AMlittle-cartoon-10569
05/18/2022, 8:54 PMget
syntax specific to a particular version? Check which version is defined in your package.json. Also, the default TS configuration uses es2016; was it in there? You might have to override that. See more here: https://www.pulumi.com/docs/intro/languages/javascript/#3-create-tsconfigjsonancient-eve-13947
05/19/2022, 11:45 AMget and set
syntax 5+ years ago, and tsconfig says only this:
"compilerOptions": {
"strict": true,
"outDir": "bin",
"target": "es2016",
"module": "commonjs",
"moduleResolution": "node",
"sourceMap": true,
"experimentalDecorators": true,
"pretty": true,
"noFallthroughCasesInSwitch": true,
"noImplicitReturns": true,
"forceConsistentCasingInFileNames": true
},
ancient-eve-13947
05/19/2022, 11:46 AMancient-eve-13947
05/19/2022, 11:47 AM