GoogleCloudPlatform / GoogleCloudPlatform/functions-framework-nodejs
Missing typings for event functions?
Aperta
enhancement
P3
- Lingua principale
- TypeScript
- Stelle
- 1.4k
- Fork
- 181
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Hi there!
I'm trying to write a cloud functions project in typescript. The project has typings for http trigger functions available in the functions.ts under the HttpFunction type. These are very useful as they provide the necessary express types for the request and response objects
However when trying to write an event function triggered by a pub/sub message, for example, there is only the EventFunction type, however the data parameter is missing relevant properties for pub/sub triggers, storage triggers, etc
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.