Koa: webstorm

Created on 21 Mar 2017  路  6Comments  路  Source: koajs/koa

e2ccde79-421d-42be-8ed7-71a7f3b7ede7

how resolve this problem?

question

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.

All 6 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rowild picture rowild  路  4Comments

tvq picture tvq  路  4Comments

rainesinternationaldev picture rainesinternationaldev  路  5Comments

TheRav3n picture TheRav3n  路  3Comments

ilkkao picture ilkkao  路  4Comments