aurelienbrabantA
Windmillโ€ข3y agoโ€ข
11 replies
aurelienbrabant

Object destructuring unparsable in main function

export interface ConfigType {
  key: string;
}

export async function main({ key }: ConfigType) {
}


The following code causes windmill to error since it's unable to parse the main function's signature.
This happens because of the object destructuring that's taking place.

Probably a rightful wontdo but felt like I should also report this one.
Was this page helpful?