Closed rajinder-yadav closed 4 years ago
Page URL:
https://www.typescriptlang.org/docs/handbook/basic-types.html#type-assertions
Issue:
let strLength: number = (someValue).length;
should ne
let strLength: number = (<string>someValue).length;
Recommended Fix:
Browser:
Looks like this is a twoslash bug - #405 should fix it
Confirmed 405 - didn't fix it - it's being interpreted as a html element
Page URL:
https://www.typescriptlang.org/docs/handbook/basic-types.html#type-assertions
Issue:
should ne
Recommended Fix:
Browser: