**Code** ```ts // @noEmit: true // @allowJs: true // @checkJs: true // @Filename: a.js // modified from graceful-fs module.exports = patch module.exports.close = function (fs$close) { } function patch(fs) { // do something with Fs } ``` **Expected behavior:** No errors, and graceful-fs creates a callable module with an exported member `patch`. **Actual behavior:** Lots of errors, and no exported member `patch`.