histropediajs 1.6.0 → 1.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/histropedia.esm.js +1859 -1858
- package/dist/histropedia.umd.js +1867 -1866
- package/dist/histropedia.umd.min.js +2 -2
- package/index.d.ts +6 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -121,7 +121,12 @@ export type DateParts = {
|
|
|
121
121
|
millisecond?: number;
|
|
122
122
|
};
|
|
123
123
|
|
|
124
|
-
/**
|
|
124
|
+
/**
|
|
125
|
+
* General date input that can include precision.
|
|
126
|
+
* Omitted precision is inferred from the smallest supplied time component (including zero).
|
|
127
|
+
* Without time components it defaults to day, even for year-only or year/month objects.
|
|
128
|
+
* Explicit precision always overrides inference.
|
|
129
|
+
*/
|
|
125
130
|
export type DateInput = DateParts & { precision?: Precision };
|
|
126
131
|
|
|
127
132
|
/**
|
package/package.json
CHANGED