From 71c24de1a954edd4ea6328e36d4c30de5c4d92ed Mon Sep 17 00:00:00 2001 From: George Fu Date: Thu, 14 Nov 2024 18:46:16 +0000 Subject: [PATCH] formatting --- packages/types/src/transform/no-undefined.ts | 28 ++++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/packages/types/src/transform/no-undefined.ts b/packages/types/src/transform/no-undefined.ts index bb7671ab004..cd35d764512 100644 --- a/packages/types/src/transform/no-undefined.ts +++ b/packages/types/src/transform/no-undefined.ts @@ -1,6 +1,6 @@ import type { InvokeMethod, InvokeMethodOptionalArgs } from "../client"; import type { GetOutputType } from "../command"; -import type { DocumentType } from "../shapes" +import type { DocumentType } from "../shapes"; /** * @public @@ -34,14 +34,14 @@ export type UncheckedClient = UncheckedClientOutputTypes< * Excludes undefined recursively. */ export type NoUndefined = T extends Function - ? T + ? T : T extends DocumentType - ? T - : [T] extends [object] - ? { - [key in keyof T]: NoUndefined; - } - : Exclude; + ? T + : [T] extends [object] + ? { + [key in keyof T]: NoUndefined; + } + : Exclude; /** * @internal @@ -51,12 +51,12 @@ export type NoUndefined = T extends Function export type RecursiveRequired = T extends Function ? T : T extends DocumentType - ? T - : [T] extends [object] - ? { - [key in keyof T]-?: RecursiveRequired; - } - : Exclude; + ? T + : [T] extends [object] + ? { + [key in keyof T]-?: RecursiveRequired; + } + : Exclude; /** * @internal