how resolve this problem?
what is it trying to do? look up .use?
This is a local settings issue, just checked a colleagues webstorm setup which does not behave like this.
Yes锛宼rying to look up .use function
It is an issue of WebStorm, rather than koa. Because javascript is a kind of dynamic types languages, WebStorm can not always find the right function definition.
In order for WebStorm to get the right function definition for libraries like koa, just set the project's Javascript libraries (Languages & Frameworks > Javascript > Libraries). Press Download then find koa from the Typescript community stubs
It is an issue of WebStorm, rather than koa. Because javascript is a kind of dynamic types languages, WebStorm can not always find the right function definition.
Most helpful comment
It is an issue of WebStorm, rather than koa. Because javascript is a kind of dynamic types languages, WebStorm can not always find the right function definition.