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
Instead of exporting module.exports = exports.default; is it possible to add an option to export module.exports = myDefaultVariableName? Because the VS Code does not understand the first option to infer types but works fine with the second one. Thanks.
The text was updated successfully, but these errors were encountered:
In this example we've lost the .extra property, because the module.export has a sort of priority. If we were to only use the exports.extra statement, we would be able to access 'another hey'.
Instead of exporting
module.exports = exports.default;
is it possible to add an option to exportmodule.exports = myDefaultVariableName
? Because the VS Code does not understand the first option to infer types but works fine with the second one. Thanks.The text was updated successfully, but these errors were encountered: