Skip to content

Commit

Permalink
fea: upgrade thinkit version to 4.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
welefen committed Feb 3, 2016
1 parent a008eee commit 4b7b033
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"multiparty": "4.1.2",
"mime": "1.3.4",
"mysql": "2.9.0",
"thinkit": "4.5.0",
"thinkit": "4.6.0",
"babel-runtime": "6.3.19",
"bluebird": "3.1.1",
"co": "4.6.0",
Expand Down
6 changes: 6 additions & 0 deletions template/think.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -548,8 +548,12 @@ declare module think {

export function isFile(obj: string): boolean;

export function isFileAsync(obj: string): Promise;

export function isDir(obj: string): boolean;

export function isDirAsync(obj: string): Promise;

export function isNumberString(obj: string): boolean;

export function isPromise(obj: any): boolean;
Expand All @@ -574,6 +578,8 @@ declare module think {

export function escapeHtml(str: string): string;

export function datetime(d: any): string;

/**
* The current version of ThinkJS
* @type {string}
Expand Down

0 comments on commit 4b7b033

Please sign in to comment.