Erik Robertson
04/21/2022, 9:46 PMIndex signature for type 'string' is missing in type '{}'.
on the environment line in the following statement (this refers to the stack)
this.setDefaultFunctionProps({
environment: config,
bundle: {
externalModules: ['pg-hstore'],
nodeModules: ['mysql2']
},
timeout: 20,
})
and config is declared as
let config = {}
and has key/value pairs added to it before the setDefaultFunctionProps call.
Any idea what I can do to get rid of that error ?thdxr
04/21/2022, 9:51 PMErik Robertson
04/21/2022, 9:57 PMthdxr
04/21/2022, 11:29 PMFrank
thdxr
04/22/2022, 4:10 AM