@types/luxon
Advanced tools
Comparing version 3.0.3 to 3.1.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for luxon 3.0 | ||
// Type definitions for luxon 3.1 | ||
// Project: https://github.com/moment/luxon#readme | ||
@@ -3,0 +3,0 @@ // Definitions by: Hyeonseok Yang <https://github.com/FourwingsY> |
{ | ||
"name": "@types/luxon", | ||
"version": "3.0.3", | ||
"version": "3.1.0", | ||
"description": "TypeScript definitions for luxon", | ||
@@ -73,4 +73,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/luxon", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "dd7124dc2c84bf3eebf6d67a0d2415307eb46f7515870a37351b1c02d057bf20", | ||
"typesPublisherContentHash": "39dc23010f4db4ce1892b41a6e8a40203361f9b997e834a3ef1feba6fb65459a", | ||
"typeScriptVersion": "4.1" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Thu, 03 Nov 2022 23:02:49 GMT | ||
* Last updated: Fri, 04 Nov 2022 20:32:56 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: `luxon` |
@@ -396,2 +396,10 @@ import { NumberingSystem } from './misc'; | ||
/** | ||
* Rescale units to its largest representation. | ||
* | ||
* @example | ||
* Duration.fromObject({ milliseconds: 90000 }).rescale().toObject() //=> { minutes: 1, seconds: 30 } | ||
*/ | ||
rescale(): Duration; | ||
/** | ||
* Convert this Duration into its representation in a different set of units. | ||
@@ -405,2 +413,8 @@ * | ||
/** | ||
* Shift this Duration to all available units. | ||
* Same as shiftTo("years", "months", "weeks", "days", "hours", "minutes", "seconds", "milliseconds") | ||
*/ | ||
shiftToAll(): Duration; | ||
/** | ||
* Return the negative of this Duration. | ||
@@ -407,0 +421,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
114175
2712