@types/luxon
Advanced tools
Comparing version 3.3.7 to 3.3.8
{ | ||
"name": "@types/luxon", | ||
"version": "3.3.7", | ||
"version": "3.3.8", | ||
"description": "TypeScript definitions for luxon", | ||
@@ -28,4 +28,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/luxon", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "7494819e8ca60b24720481efa54b5761775b0700b50a9657eb06dafab15f0a8c", | ||
"typesPublisherContentHash": "99dcef64f6ad1dd1fc7aca4688771026c475dc7b5f33bc7a6ca1eee059b742a0", | ||
"typeScriptVersion": "4.6" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Mon, 04 Dec 2023 20:35:43 GMT | ||
* Last updated: Wed, 03 Jan 2024 20:07:22 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ |
@@ -0,3 +1,10 @@ | ||
import { WeekdayNumbers } from "./datetime"; | ||
import { Zone, ZoneMaybeValid } from "./zone"; | ||
export interface WeekSettings { | ||
firstDay: WeekdayNumbers; | ||
minimalDays: WeekdayNumbers; | ||
weekend: WeekdayNumbers[]; | ||
} | ||
/** | ||
@@ -68,2 +75,9 @@ * `Settings` contains static getters and setters that control Luxon's overall behavior. | ||
static resetCaches(): void; | ||
/** | ||
* Allows overriding the default locale week settings, i.e. the start of the week, the weekend and | ||
* how many days are required in the first week of a year. | ||
* Does not affect existing instances. | ||
*/ | ||
static defaultWeekSettings: WeekSettings | null; | ||
} | ||
@@ -70,0 +84,0 @@ |
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
116038
2733