TypeScript/tests/cases/compiler/expandoFunctionContextualTypesNoValue.ts
Eli Barzilay 0432954f2d Small fix in getIsContextSensitiveAssignmentOrContextType
Test that `parentSymbol.valueDeclaration` exists.

Fixes #38532
2020-06-13 07:10:04 -04:00

7 lines
92 B
TypeScript

// GH #38532
import Foo from "blah";
export function Foo() { }
Foo.bar = () => { };