claudiajs / claudia-api-builder

Use AWS API Gateway as if it were a lightweight JavaScript web server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Type defintions for IDEs

mrjackyliang opened this issue · comments

Please use GitHub issues only to report bugs. To ask a general question or request assistance/support, please use the Claudia.js Gitter Chat instead.

To report a bug or a problem, please fill in the sections below. The more you provide, the better we'll be able to help.

I am currently using WebStorm, and when I try to use the API Builder, I see that the IDE cannot recognize the functions.


  • Expected behavior:
    No errors in IDE

  • What actually happens:
    Undefined warnings appear in WebStorm

  • Link to a minimal, executable project that demonstrates the problem:

  • Steps to install the project:

  • Steps to reproduce the problem:

Somehow the way how I called the module.exports caused this warning. All I did was wrap it in an arrow function, and everything worked fine.