@types/timezone-js
Advanced tools
Comparing version 0.0.30 to 0.0.31
@@ -8,3 +8,2 @@ // Type definitions for timezone-js | ||
export declare var timezone: TimezoneJs; | ||
@@ -19,7 +18,16 @@ | ||
constructor(time: string, timezone?: string); | ||
constructor(year?: number, month?: number, day?: number, hour?: number, minute?: number, second?: number, millisecond?: number, timezone?: string); | ||
constructor( | ||
year?: number, | ||
month?: number, | ||
day?: number, | ||
hour?: number, | ||
minute?: number, | ||
second?: number, | ||
millisecond?: number, | ||
timezone?: string, | ||
); | ||
setTimezone: (timezone: string) => void; | ||
// regular Date members | ||
toString(format?:string): string; | ||
toString(format?: string): string; | ||
toDateString(): string; | ||
@@ -51,3 +59,3 @@ toTimeString(): string; | ||
// Note the setters have a non-void return type. Date has them as well, according to TypeScript | ||
// Note the setters have a non-void return type. Date has them as well, according to TypeScript | ||
setMilliseconds(ms: number): number; | ||
@@ -72,3 +80,2 @@ setUTCMilliseconds(ms: number): number; | ||
export interface TimezoneJs { | ||
@@ -75,0 +82,0 @@ zoneFileBasePath: string; |
{ | ||
"name": "@types/timezone-js", | ||
"version": "0.0.30", | ||
"version": "0.0.31", | ||
"description": "TypeScript definitions for timezone-js", | ||
@@ -23,4 +23,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/timezone-js", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "f5ad2949647f0524d6b369861fea7c2aec7ba77b3b17b03d0a97564f7a879f83", | ||
"typeScriptVersion": "3.6" | ||
"typesPublisherContentHash": "3b62379c52d20d116950966dd0a242a7aa9722952b376177b784e9d8b65c37de", | ||
"typeScriptVersion": "4.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Fri, 02 Jul 2021 19:37:06 GMT | ||
* Last updated: Tue, 12 Sep 2023 12:34:42 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5808
90