GoogleCloudPlatform / express-oauth2-handlers

Apache License 2.0
22 stars 14 forks source link

Publish type declarations for Typescript #13

Open fmpanelli opened 3 years ago

fmpanelli commented 3 years ago

First of all thank you very much for the excellent package. I think it is very useful and it deserves more attention within Google docs. I found it by chance while exploring this

I am trying to use to use this library in a Google Cloud function written in TypeScript. Unfortunately Typescript is complaining it cannot find a type declaration.

I would like this package to export type declarations like other packages e.g.:

{
  "name": "@google-cloud/functions-framework",
  "version": "1.7.1",
  "description": "FaaS (Function as a service) framework for writing portable Node.js functions",
  "engines": {
    "node": ">=10.0.0"
  },
  "repository": "GoogleCloudPlatform/functions-framework-nodejs",
  "main": "build/src/index.js",
  "types": "build/src/functions.d.ts",
  ...

Thank you very much for you work and thank you in advance if you'll find time to have a look at my request.

Filippo

chrissmejia commented 5 months ago

Any news on this?