mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-12 11:51:10 +08:00
add stripLeft and stripRight
This commit is contained in:
4
string/index.d.ts
vendored
4
string/index.d.ts
vendored
@@ -72,6 +72,10 @@ interface StringJS {
|
||||
|
||||
strip(...strings: string[]): StringJS;
|
||||
|
||||
stripLeft(...strings: string[]): StringJS;
|
||||
|
||||
stripRight(...strings: string[]): StringJS;
|
||||
|
||||
right(n: number): StringJS;
|
||||
|
||||
setValue(string: any): StringJS;
|
||||
|
||||
Reference in New Issue
Block a user