You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The commonjs-specific code for resolving access expressions on require('ch') assumes a fake commonjs export. It needs to call resolveSymbol on a real export since it will be an alias.
For the program
Expected behavior:
No error, and
x: { grey: {} }
Actual behavior:
on
const x = require
, error that 'x is unused'on
x.grey
, error that 'cannot find name x'Based on a failure from office-ui-fabric in a JS script that uses chalk. (and, notably uses
export default
, so that needs to be tested too)Works if you use commonjs exports:
The text was updated successfully, but these errors were encountered: