Init Lambda based on typescript

The solution for “Init Lambda based on typescript” can be found here. The following code will assist you in solving the problem.

export const handler = async (event: any = {}): Promise => {
console.log(‘Hello World!’);
const response = JSON.stringify(event, null, 2);
return response;
}

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

0
inline scripts encapsulated in