Skip to content

Commit 7417e96

Browse files
authored
Merge pull request #20 from rluvaton/improve-perf
improve performance and memory consumption
2 parents 5ce0946 + 4411c86 commit 7417e96

File tree

8 files changed

+3238
-3352
lines changed

8 files changed

+3238
-3352
lines changed

.babelrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"presets": [ "es2015" ]
3-
}
2+
"presets": [ "es2016" ]
3+
}

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)