Skip to content

Converting to Typescript #3

Description

@simenandre

Hello,

I've been porting lambda-proxy-utils to Typescript. I was thinking of writing @types definitions, but this is such a nice little tool I'd rather see it being fully Typescript. As of right now, it has a few lint issues and a broken dependency (i think). There are also 13 @ts-ignore in the classes, those need to be looked at. I've used gts.

  • Rebuild in Typescript
  • Fix linting
  • Fix type-is bug

I got carried away on the Response class, so all options are now written as one variable. We can revert back to the way @geoffdutton has done it. As of yet I have not submitted a pull request, since it's not perfect.

I changed from NPM to Yarn – not really a requirement either, i guess.

Have a look at bjerkio/lambda-proxy-utils.

Cheers!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions