Hello,
Setting up a new project using aws-nodejs-typescript template, which gives a serverless.ts configuration file.
The documentation is saying splitting CloudFormation resources into multiple files is supported:
However, attempting to assign resources.Resources=’…’ in the TypeScript file gives an error, below.
Please advise,
– Tim
TS2322: Type ‘string’ is not assignable to type ‘CloudFormationResources’.
awsProvider.d.ts(568, 9): The expected type comes from property ‘Resources’ which is declared here on type ‘Resources’