vigor-fetch 4.0.7 → 4.0.8
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/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -337,7 +337,7 @@ type VigorFetchContextSchema<T extends VigorFetchSchema<T>, R = VigorCastResult<
|
|
|
337
337
|
/** Context shape seen by `before` middlewares — the request hasn't been sent yet. */
|
|
338
338
|
type VigorFetchBeforeContextSchema<T extends VigorFetchSchema<T>> = VigorFetchContextSchema<T, VigorDefaultType>;
|
|
339
339
|
/** Context shape seen by `after` / `onResult` middlewares — a response has been received/parsed. */
|
|
340
|
-
type VigorFetchAfterContextSchema<T extends VigorFetchSchema<T>> = VigorFetchContextSchema<T, VigorCastResult<T["cast"], unknown
|
|
340
|
+
type VigorFetchAfterContextSchema<T extends VigorFetchSchema<T>> = VigorFetchContextSchema<T, VigorCastResult<T["cast"], unknown>>;
|
|
341
341
|
|
|
342
342
|
type VigorFetchPolicySettingsSchema<T extends VigorFetchSchema<T>> = {
|
|
343
343
|
__brand: VigorBrand<"Fetch", "Policy<Settings<Schema">;
|
|
@@ -1429,7 +1429,7 @@ type VigorParseContextSchema<T extends VigorParseSchema<T>, R = VigorCastResult<
|
|
|
1429
1429
|
/** Context shape seen by `before` middlewares — parsing hasn't run yet. */
|
|
1430
1430
|
type VigorParseBeforeContextSchema<T extends VigorParseSchema<T>> = VigorParseContextSchema<T, VigorDefaultType>;
|
|
1431
1431
|
/** Context shape seen by `after` / `onResult` middlewares — a result has been produced. */
|
|
1432
|
-
type VigorParseAfterContextSchema<T extends VigorParseSchema<T>> = VigorParseContextSchema<T, VigorCastResult<T["cast"], unknown
|
|
1432
|
+
type VigorParseAfterContextSchema<T extends VigorParseSchema<T>> = VigorParseContextSchema<T, VigorCastResult<T["cast"], unknown>>;
|
|
1433
1433
|
|
|
1434
1434
|
type VigorParsePolicySettingsSchema<T extends VigorParseSchema<T>> = {
|
|
1435
1435
|
__brand: VigorBrand<"Parse", "Policy<Settings<Schema">;
|
package/dist/index.d.ts
CHANGED
|
@@ -337,7 +337,7 @@ type VigorFetchContextSchema<T extends VigorFetchSchema<T>, R = VigorCastResult<
|
|
|
337
337
|
/** Context shape seen by `before` middlewares — the request hasn't been sent yet. */
|
|
338
338
|
type VigorFetchBeforeContextSchema<T extends VigorFetchSchema<T>> = VigorFetchContextSchema<T, VigorDefaultType>;
|
|
339
339
|
/** Context shape seen by `after` / `onResult` middlewares — a response has been received/parsed. */
|
|
340
|
-
type VigorFetchAfterContextSchema<T extends VigorFetchSchema<T>> = VigorFetchContextSchema<T, VigorCastResult<T["cast"], unknown
|
|
340
|
+
type VigorFetchAfterContextSchema<T extends VigorFetchSchema<T>> = VigorFetchContextSchema<T, VigorCastResult<T["cast"], unknown>>;
|
|
341
341
|
|
|
342
342
|
type VigorFetchPolicySettingsSchema<T extends VigorFetchSchema<T>> = {
|
|
343
343
|
__brand: VigorBrand<"Fetch", "Policy<Settings<Schema">;
|
|
@@ -1429,7 +1429,7 @@ type VigorParseContextSchema<T extends VigorParseSchema<T>, R = VigorCastResult<
|
|
|
1429
1429
|
/** Context shape seen by `before` middlewares — parsing hasn't run yet. */
|
|
1430
1430
|
type VigorParseBeforeContextSchema<T extends VigorParseSchema<T>> = VigorParseContextSchema<T, VigorDefaultType>;
|
|
1431
1431
|
/** Context shape seen by `after` / `onResult` middlewares — a result has been produced. */
|
|
1432
|
-
type VigorParseAfterContextSchema<T extends VigorParseSchema<T>> = VigorParseContextSchema<T, VigorCastResult<T["cast"], unknown
|
|
1432
|
+
type VigorParseAfterContextSchema<T extends VigorParseSchema<T>> = VigorParseContextSchema<T, VigorCastResult<T["cast"], unknown>>;
|
|
1433
1433
|
|
|
1434
1434
|
type VigorParsePolicySettingsSchema<T extends VigorParseSchema<T>> = {
|
|
1435
1435
|
__brand: VigorBrand<"Parse", "Policy<Settings<Schema">;
|