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
// `export =` might be imported by a default import if `--allowSyntheticDefaultImports` is on, so this handles both ExportKind.Default and ExportKind.ExportEquals
266
-
const{ name }=importClause;
267
-
// If a default import has the same name as the default export, allow to rename it.
268
-
// Given `import f` and `export default function f`, we will rename both, but for `import g` we will rename just that.
// 'default' might be accessed as a named import `{ default as foo }`.
275
-
if(exportKind===ExportKind.Default){
276
-
searchForNamedImport(namedBindings);
277
-
}
262
+
// `export =` might be imported by a default import if `--allowSyntheticDefaultImports` is on, so this handles both ExportKind.Default and ExportKind.ExportEquals.
263
+
// If a default import has the same name as the default export, allow to rename it.
264
+
// Given `import f` and `export default function f`, we will rename both, but for `import g` we will rename just that.
0 commit comments