typescript-string-operations
Advanced tools
Comparing version
{ | ||
"name": "typescript-string-operations", | ||
"version": "1.5.0-rc.4", | ||
"version": "1.5.0-rc.5", | ||
"description": "Simple lightweight string operation library for Typescript, works with Angular", | ||
@@ -42,3 +42,3 @@ "main": "dist/index.min.js", | ||
"uglify-js": "^3.17.0", | ||
"typescript-string-operations": "1.5.0-rc.4" | ||
"typescript-string-operations": "1.5.0-rc.5" | ||
}, | ||
@@ -45,0 +45,0 @@ "directories": { |
@@ -10,3 +10,3 @@ | ||
// @ts-ignore | ||
export declare class String implements StringConstructor, $String { | ||
export declare class String extends $String implements StringConstructor { | ||
new(value?: any): string; | ||
@@ -13,0 +13,0 @@ constructor(value?: any); |
@@ -10,3 +10,3 @@ | ||
// @ts-ignore | ||
export declare class String implements StringConstructor { | ||
export declare class String implements StringConstructor, $String { | ||
new(value?: any): string; | ||
@@ -21,16 +21,16 @@ constructor(value?: any); | ||
*/ | ||
Empty: string; | ||
static Empty: string; | ||
/** | ||
* @deprecated The method should not be used, and will be removed in future versions! Use `String.isNullOrWhiteSpace()` instead. | ||
*/ | ||
IsNullOrWhiteSpace(value: string | null | undefined): boolean; | ||
static IsNullOrWhiteSpace(value: string | null | undefined): boolean; | ||
/** | ||
* @deprecated The method should not be used, and will be removed in future versions! Use `String.join()` instead. | ||
*/ | ||
Join(delimiter: string, ...args: (string | object | Array<any>)[]): string; | ||
static Join(delimiter: string, ...args: (string | object | Array<any>)[]): string; | ||
/** | ||
* @deprecated The method should not be used, and will be removed in future version!s Use `String.format()` instead. | ||
*/ | ||
Format(format: string, ...args: any[]): string; | ||
static Format(format: string, ...args: any[]): string; | ||
} | ||
@@ -9,3 +9,6 @@ | ||
export interface String extends $String, StringConstructor { | ||
// @ts-ignore | ||
export declare class String implements StringConstructor { | ||
new(value?: any): string; | ||
constructor(value?: any); | ||
prototype: globalThis.String; | ||
@@ -12,0 +15,0 @@ fromCharCode(...codes: number[]): string; |
30309
6.79%17
21.43%450
10.57%