ts-commons
Advanced tools
Comparing version 0.0.23 to 0.0.24
@@ -1,2 +0,2 @@ | ||
declare module 'ts-commons/utils/object.utils' { | ||
declare module './utils/object.utils' { | ||
export class ObjectUtils { | ||
@@ -24,3 +24,3 @@ static isNull(value: any): boolean; | ||
} | ||
declare module 'ts-commons/utils/number.utils' { | ||
declare module './utils/number.utils' { | ||
export class NumberUtils { | ||
@@ -61,3 +61,3 @@ static readonly MAX_SAFE_INTEGER: number; | ||
} | ||
declare module 'ts-commons/utils/string.utils' { | ||
declare module './utils/string.utils' { | ||
export class StringUtils { | ||
@@ -163,3 +163,3 @@ static readonly EMPTY: string; | ||
} | ||
declare module 'ts-commons/utils/date.utils' { | ||
declare module './utils/date.utils' { | ||
export class DateUtils { | ||
@@ -171,3 +171,3 @@ static dateToTimestamp(date: Date): number; | ||
} | ||
declare module 'ts-commons/utils/regex.utils' { | ||
declare module './utils/regex.utils' { | ||
export class RegexUtils { | ||
@@ -196,3 +196,3 @@ /** | ||
} | ||
declare module 'ts-commons/utils/http.utils' { | ||
declare module './utils/http.utils' { | ||
export class HttpUtils { | ||
@@ -209,3 +209,3 @@ static getCookies(cookie: string): { | ||
} | ||
declare module 'ts-commons/utils/array.utils' { | ||
declare module './utils/array.utils' { | ||
export class ArrayUtils { | ||
@@ -219,16 +219,16 @@ static isEmpty<T>(array: T[]): boolean; | ||
} | ||
declare module 'ts-commons/utils/index' { | ||
import { ObjectUtils } from 'ts-commons/utils/object.utils'; | ||
import { StringUtils } from 'ts-commons/utils/string.utils'; | ||
import { NumberUtils } from 'ts-commons/utils/number.utils'; | ||
import { DateUtils } from 'ts-commons/utils/date.utils'; | ||
import { RegexUtils } from 'ts-commons/utils/regex.utils'; | ||
import { HttpUtils } from 'ts-commons/utils/http.utils'; | ||
import { ArrayUtils } from 'ts-commons/utils/array.utils'; | ||
declare module './utils/index' { | ||
import { ObjectUtils } from 'utils/object.utils'; | ||
import { StringUtils } from 'utils/string.utils'; | ||
import { NumberUtils } from 'utils/number.utils'; | ||
import { DateUtils } from 'utils/date.utils'; | ||
import { RegexUtils } from 'utils/regex.utils'; | ||
import { HttpUtils } from 'utils/http.utils'; | ||
import { ArrayUtils } from 'utils/array.utils'; | ||
export { ObjectUtils, StringUtils, NumberUtils, DateUtils, RegexUtils, HttpUtils, ArrayUtils }; | ||
} | ||
declare module 'ts-commons/index' { | ||
export * from 'ts-commons/utils'; | ||
declare module './index' { | ||
export * from 'utils'; | ||
} |
@@ -52,3 +52,3 @@ var gulp = require("gulp"); | ||
dts_gen({ | ||
name: "ts-commons", | ||
name: ".", | ||
baseDir: "src/", | ||
@@ -55,0 +55,0 @@ project: "./", |
{ | ||
"name": "ts-commons", | ||
"version": "0.0.23", | ||
"version": "0.0.24", | ||
"description": "common methods for typescript", | ||
@@ -5,0 +5,0 @@ "main": "dist/ts-commons.js", |
120933