Previously it checked types too, which caused a crash because types don't have valueDeclaration set. But expando functions can't export types, only values.
10 lines
162 B
TypeScript
10 lines
162 B
TypeScript
// @declaration: true
|
|
// @Filename: expando.ts
|
|
// #27032
|
|
function ExpandoMerge(n: number) {
|
|
return n;
|
|
}
|
|
namespace ExpandoMerge {
|
|
export interface I { }
|
|
}
|