stripInternal
should work on single-line commentsΒ #46515
Open
Description
Bug Report
π Search Terms
stripInternal
π Version & Regression Information
- This is a crash
- This is the behavior in every version I tried, and I reviewed the FAQ for entries about
stripInternal
β― Playground Link
Playground link with relevant code
π» Code
/module.ts
/** @internal */
export type Thing = string;
// this is not @internal (using at character)
export type Thing2 = number;
// this is also not internal (not using at character)
export type Thing3 = boolean;
π Actual behavior
/module.d.ts
export declare type Thing3 = boolean;
π Expected behavior
/module.d.ts
export declare type Thing2 = number;
export declare type Thing3 = boolean;