Attaching property to exported function creates invalid definition file #29206
Labels
Bug
A bug in TypeScript
Domain: Declaration Emit
The issue relates to the emission of d.ts files
Effort: Moderate
Requires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".
Fixed
A PR has been merged for this issue
Help Wanted
You can do this
Milestone
TypeScript Version: 3.3.0-dev.20181229
Search Terms:
default export function property namespace
Code
Expected behavior:
The declaration file should be valid
Actual behavior:
Playground Link: Cannot be reproduced in the playground as the issue is in the
d.ts
file, not the JS. However, I've setup a repository: https://github.com/SimenB/tsc-b-auchRelated Issues: None found
The text was updated successfully, but these errors were encountered: