Open ericrav opened 1 year ago
These are generated from the provider JSON schema using the plugin used to generate the AWS Serverless config typings: https://github.com/serverless/typescript
Usage:
// serverless.ts import type { GCP } from 'serverless-google-cloudfunctions'; const serverlessConfiguration: GCP = { provider: { name: 'google', // ... } }; module.exports = serverlessConfiguration;
A future PR may add this process to the CI workflow so any provider JSON schema changes are automatically captured in changes to the TypeScript .d.ts file, as is done in @serverless/typescript
@serverless/typescript
Love this, having the types for the AWS version is really helpful.
These are generated from the provider JSON schema using the plugin used to generate the AWS Serverless config typings: https://github.com/serverless/typescript
Usage:
A future PR may add this process to the CI workflow so any provider JSON schema changes are automatically captured in changes to the TypeScript .d.ts file, as is done in
@serverless/typescript