TypeScript/tests/cases/compiler/exportDefaultInterfaceAndValue.ts
Eli Barzilay a320e1b554 Make getLocalSymbolForExportDefault look harder for an export
Look for a symbol that has a `.localSymbol` property instead of blindly
using the first one.

Fixes #37829.
2020-07-30 13:09:21 -04:00

4 lines
103 B
TypeScript

export default interface A { a: string; }
export default function() { return 1; }
declare var x: A;