10 lines
367 B
TypeScript
Raw Normal View History

2026-05-31 13:21:13 +02:00
/**
* A fallback function to strip out twoslash annotations from a string and does nothing else.
*
* This function does not returns the meta information about the removals.
* It's designed to be used as a fallback when Twoslash fails.
*/
declare function removeTwoslashNotations(code: string, customTags?: string[]): string;
export { removeTwoslashNotations };