diff --git a/packages/hub/src/vendor/type-fest/entry.ts b/packages/hub/src/vendor/type-fest/entry.ts index 68e2f9ca9..ed3650c90 100644 --- a/packages/hub/src/vendor/type-fest/entry.ts +++ b/packages/hub/src/vendor/type-fest/entry.ts @@ -57,9 +57,12 @@ const setEntryNumber: Entry = [1, 1]; @category Array @category Set */ -export type Entry = - BaseType extends Map ? MapEntry - : BaseType extends Set ? SetEntry - : BaseType extends readonly unknown[] ? ArrayEntry - : BaseType extends object ? ObjectEntry - : never; +export type Entry = BaseType extends Map + ? MapEntry + : BaseType extends Set + ? SetEntry + : BaseType extends readonly unknown[] + ? ArrayEntry + : BaseType extends object + ? ObjectEntry + : never; diff --git a/packages/hub/src/vendor/type-fest/set-required.ts b/packages/hub/src/vendor/type-fest/set-required.ts index d25e6e0d8..8e4c6417a 100644 --- a/packages/hub/src/vendor/type-fest/set-required.ts +++ b/packages/hub/src/vendor/type-fest/set-required.ts @@ -1,5 +1,5 @@ -import type {Except} from './except'; -import type {Simplify} from './simplify'; +import type { Except } from "./except"; +import type { Simplify } from "./simplify"; /** Create a type that makes the given keys required. The remaining keys are kept as is. The sister of the `SetOptional` type. @@ -26,10 +26,9 @@ type SomeRequired = SetRequired; @category Object */ -export type SetRequired = - Simplify< +export type SetRequired = Simplify< // Pick just the keys that are optional from the base type. Except & - // Pick the keys that should be required from the base type and make them required. - Required> - >; + // Pick the keys that should be required from the base type and make them required. + Required> +>;