Skip to content

Commit babeb80

Browse files
committed
improve performance and memory consumption
1 parent 5ce0946 commit babeb80

File tree

3 files changed

+669
-302
lines changed

3 files changed

+669
-302
lines changed

ansicolor.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ export declare class ansicolor {
153153
}
154154

155155
export function parse (text: string): AnsiColored;
156+
export function parseIterator (textOrGetText: string | (() => string)): Iterator<ParsedSpan>;
156157
export function strip (text: string): string;
157158
export function isEscaped (x?: any): boolean;
158159

0 commit comments

Comments
 (0)