Skip to content

Commit

Permalink
feat: add some global functions
Browse files Browse the repository at this point in the history
  • Loading branch information
cxtom committed Feb 27, 2019
1 parent 56c7f55 commit 8c644ea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts2php",
"version": "0.0.1-alpha.9",
"version": "0.0.1-alpha.10",
"description": "",
"main": "dist/index.js",
"typings": "types/index.d.ts",
Expand Down
4 changes: 4 additions & 0 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,7 @@ type UrlInfo = {
};

declare function parse_url(x: string): false | UrlInfo;

declare function strftime(a: string, b: number | string): string;

declare function strtotime(a: string): number;

0 comments on commit 8c644ea

Please sign in to comment.