examples icon indicating copy to clipboard operation
examples copied to clipboard

[QUESTION] What typing to use for http event in GCP example?

Open GuilhermeCunha opened this issue 2 years ago • 0 comments

Currently, in the TS project example the code is untyped. I would like to know the correct types for the parameters.

The project can be found here.

'use strict';

exports.http = (request, response) => {
  response.status(200).send("Hello World! Let's start Typescript!!");
};

exports.event = (event, callback) => {
  callback();
};

GuilhermeCunha avatar Oct 29 '21 11:10 GuilhermeCunha