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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Typescript configuration files #17

Closed
adriencaccia opened this issue Feb 13, 2022 · 0 comments 路 Fixed by #18
Closed

Support Typescript configuration files #17

adriencaccia opened this issue Feb 13, 2022 · 0 comments 路 Fixed by #18

Comments

@adriencaccia
Copy link
Contributor

adriencaccia commented Feb 13, 2022

Hey @TastefulElk !

First, huge thanks for this amazing extension, it is a real life (time) saver 馃檹

However, it does not work with Typescript serverless framework configuration files (supported since v1.72.0).

Example:

import type { AWS } from '@serverless/typescript';

const serverlessConfiguration: AWS = {
  ...
  provider: {
    ...
    iamRoleStatements: [{
      Effect: "Allow",
      Action: ['dynamodb:*'],
    }],
  },
};

module.exports = serverlessConfiguration;

I took a crack at it and submitted a PR 馃槈

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

Successfully merging a pull request may close this issue.

1 participant