Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GuilhermeCunha opened this issue Oct 29, 2021 · 0 comments
Open

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

GuilhermeCunha opened this issue Oct 29, 2021 · 0 comments

Comments

@GuilhermeCunha
Copy link

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();
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant