We spoke about this with @mjbvz a few months ago.
When tossing checkJs or // @ts-check into a project, users almost immediately get feedback like Cannot find name 'require' which is frustrating because we specifically understand how require works.
I understand that we want users to have more actionable feedback when they require a Node built-in, but the current behavior is not ideal.
We spoke about this with @mjbvz a few months ago.
When tossing
checkJsor// @ts-checkinto a project, users almost immediately get feedback likeCannot find name 'require'which is frustrating because we specifically understand howrequireworks.I understand that we want users to have more actionable feedback when they require a Node built-in, but the current behavior is not ideal.