Nanashi.
Rust's `-> !` equivalent in TS
I tried
(): never
, but it did not work.
https://www.typescriptlang.org/play/?#code/MYewdgzgLgBADgQzAS2DAvDAFAWwKYQQIDmeAXDNAE7JjECUFYeAbnlRgHwwDeAUDEEwoACyogA7jGZSAolXFVcBIqXp8Avnz6hIsCCHwBZBHAzS8Uk3AA81WsQA0lKDTqcs6neGiVDeUQdzA2NTADpSKCwAIhEQUmivZAAzbABCEICRB3peASFEFGAYgAUkVDTEzW1MwLo+AHoGmAA9AH4gA4 replies
Good way to re-export with document?
I have a library, and I want to rename my class.
I want to keep backward compatibility, but I don't want new users to use it, so I want to make it as deprecated.
Are there any good way to do re-export class, but with additional jsdoc?
4 replies