-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Attaching property to exported function creates invalid definition file #29206
Copy link
Copy link
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: Declaration EmitThe issue relates to the emission of d.ts filesThe issue relates to the emission of d.ts filesEffort: ModerateRequires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Requires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".FixedA PR has been merged for this issueA PR has been merged for this issueHelp WantedYou can do thisYou can do this
Milestone
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: Declaration EmitThe issue relates to the emission of d.ts filesThe issue relates to the emission of d.ts filesEffort: ModerateRequires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Requires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".FixedA PR has been merged for this issueA PR has been merged for this issueHelp WantedYou can do thisYou can do this
Type
Fields
Give feedbackNo fields configured for issues without a type.
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.tsfile, not the JS. However, I've setup a repository: https://github.com/SimenB/tsc-b-auchRelated Issues: None found