Open
Description
TypeScript Version: 3.2.0-dev.201xxxxx
Search Terms:
Code
.ts file
/**
* this will lost
*/
function a()
function a() { }
/**
* this will keep
*/
function b() { }
function c()
/**
* this will keep, but i don't think this is good way
*/
function c() { }
Expected behavior:
all will keep
/**
* this will lost
*/
function a() { }
/**
* this will keep
*/
function b() { }
/**
* this will keep, but i don't think this is good way
*/
function c() { }
Actual behavior:
a is lost
output .js file
function a() { }
/**
* this will keep
*/
function b() { }
/**
* this will keep, but i don't think this is good way
*/
function c() { }
and when it at .d.ts
- a will keep
- b will keep too
- but c will lost
Related Issues: