@fullcalendar/core
Advanced tools
+2
-2
| { | ||
| "name": "@fullcalendar/core", | ||
| "version": "7.0.0-rc.2", | ||
| "version": "7.0.0-rc.3", | ||
| "title": "FullCalendar Core Types", | ||
| "description": "FullCalendar core types package", | ||
| "peerDependencies": { | ||
| "@full-ui/headless-calendar": "7.0.0-rc.2", | ||
| "@full-ui/headless-calendar": "7.0.0-rc.3", | ||
| "temporal-polyfill": "^0.3.2" | ||
@@ -9,0 +9,0 @@ }, |
@@ -12,9 +12,9 @@ interface BaseOptions { | ||
| type RawOptionsFromRefiners<Refiners extends GenericRefiners> = { | ||
| [Prop in keyof Refiners]?: Refiners[Prop] extends ((input: infer RawType) => infer RefinedType) ? (any extends RawType ? RefinedType : RawType) : never; | ||
| [Prop in keyof Refiners]?: Refiners[Prop] extends ((input: infer RawType, optionName: string) => infer RefinedType) ? (any extends RawType ? RefinedType : RawType) : never; | ||
| }; | ||
| type RefinedOptionsFromRefiners<Refiners extends GenericRefiners> = { | ||
| [Prop in keyof Refiners]?: Refiners[Prop] extends ((input: any) => infer RefinedType) ? RefinedType : never; | ||
| [Prop in keyof Refiners]?: Refiners[Prop] extends ((input: any, optionName: string) => infer RefinedType) ? RefinedType : never; | ||
| }; | ||
| type GenericRefiners = { | ||
| [propName: string]: (input: any) => any; | ||
| [propName: string]: (input: any, propName: string) => any; | ||
| }; | ||
@@ -21,0 +21,0 @@ type Identity<T = any> = (raw: T) => T; |
4776
1.23%