ion
ion copied to clipboard
transform signature should return void not undefined
This always requires return undefined if you have proper tsconfig settings on. it should just be void.
export type Transform<T> =
| Partial<T>
| ((args: T, opts: $util.CustomResourceOptions, name: string) => undefined);
tsconfig.json
{
"compilerOptions": {
"strict": true,
"module": "ESNext",
"moduleResolution": "Bundler"
},
"include": ["infra", "sst.config.ts"]
}