Add trimStart/End aliases (#287)

This commit is contained in:
Max Graey
2018-09-30 23:21:34 +03:00
committed by Daniel Wirtz
parent 301734b929
commit 2874fb9d8a
7 changed files with 29 additions and 15 deletions

View File

@ -482,6 +482,8 @@ declare class String {
trim(): string;
trimLeft(): string;
trimRight(): string;
trimStart(): string;
trimEnd(): string;
padStart(targetLength: i32, padString?: string): string;
padEnd(targetLength: i32, padString?: string): string;
repeat(count?: i32): string;