477e4b1a9d
Previously it crashed because the function-checking code didn't expect a node with no parent.
9 lines
196 B
TypeScript
9 lines
196 B
TypeScript
// @Filename: types.d.ts
|
|
declare function foo(props: any): any;
|
|
export default foo;
|
|
export as namespace foo;
|
|
|
|
// @Filename: foo.ts
|
|
/// <reference path="types.d.ts" />
|
|
declare function foo(): any;
|