You are currently viewing Default Parameters in TypeScript Typings

Default Parameters in TypeScript Typings

Hi I was wondering if there is a way to enable default parameters in the output of the .d.ts file through the IR compiler or if it’s on the way.

Currently setting parameter’s value doesn’t do the same for the TypeScript definitions generated.

submitted by /u/dylhack
[link] [comments]