@fullcalendar/core 7.0.0-rc.2 → 7.0.0-rc.3

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/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@fullcalendar/core",
3
- "version": "7.0.0-rc.2",
3
+ "version": "7.0.0-rc.3",
4
4
  "title": "FullCalendar Core Types",
5
5
  "description": "FullCalendar core types package",
6
6
  "peerDependencies": {
7
- "@full-ui/headless-calendar": "7.0.0-rc.2",
7
+ "@full-ui/headless-calendar": "7.0.0-rc.3",
8
8
  "temporal-polyfill": "^0.3.2"
9
9
  },
10
10
  "type": "module",
@@ -9,13 +9,13 @@ interface EventSourceOptionsRefined {
9
9
  interface EventRefiners {
10
10
  }
11
11
  type RawOptionsFromRefiners<Refiners extends GenericRefiners> = {
12
- [Prop in keyof Refiners]?: Refiners[Prop] extends ((input: infer RawType) => infer RefinedType) ? (any extends RawType ? RefinedType : RawType) : never;
12
+ [Prop in keyof Refiners]?: Refiners[Prop] extends ((input: infer RawType, optionName: string) => infer RefinedType) ? (any extends RawType ? RefinedType : RawType) : never;
13
13
  };
14
14
  type RefinedOptionsFromRefiners<Refiners extends GenericRefiners> = {
15
- [Prop in keyof Refiners]?: Refiners[Prop] extends ((input: any) => infer RefinedType) ? RefinedType : never;
15
+ [Prop in keyof Refiners]?: Refiners[Prop] extends ((input: any, optionName: string) => infer RefinedType) ? RefinedType : never;
16
16
  };
17
17
  type GenericRefiners = {
18
- [propName: string]: (input: any) => any;
18
+ [propName: string]: (input: any, propName: string) => any;
19
19
  };
20
20
  type Identity<T = any> = (raw: T) => T;
21
21
  declare class JsonRequestError extends Error {