Sha256: c7832ee7a894dc8f26a390a1032cd3abd0bc6d5249896649a0fe350047b76c89

Contents?: true

Size: 913 Bytes

Versions: 26

Compression:

Stored size: 913 Bytes

Contents

{"version":3,"sources":["../../src/core/typeUtils.ts"],"sourcesContent":["type Fn = (...arg: any[]) => any\n\nexport type MaybePromise<T> = T | Promise<T>\n\nexport type RequiredDeep<\n  Type,\n  U extends Record<string, unknown> | Fn | undefined = undefined,\n> = Type extends Fn\n  ? Type\n  : /**\n     * @note The \"Fn\" type satisfies the predicate below.\n     * It must always come first, before the Record check.\n     */\n    Type extends Record<string, any>\n    ? {\n        [Key in keyof Type]-?: NonNullable<Type[Key]> extends NonNullable<U>\n          ? NonNullable<Type[Key]>\n          : RequiredDeep<NonNullable<Type[Key]>, U>\n      }\n    : Type\n\n/**\n * @fixme Remove this once TS 5.4 is the lowest supported version.\n * Because \"NoInfer\" is a built-in type utility there.\n */\nexport type NoInfer<T> = [T][T extends any ? 0 : never]\n"],"mappings":";;;;;;;;;;;;;;AAAA;AAAA;","names":[]}

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
clapton-0.0.26 lib/clapton/javascripts/node_modules/msw/lib/core/typeUtils.js.map
clapton-0.0.25 lib/clapton/javascripts/node_modules/msw/lib/core/typeUtils.js.map
clapton-0.0.24 lib/clapton/javascripts/node_modules/msw/lib/core/typeUtils.js.map
clapton-0.0.23 lib/clapton/javascripts/node_modules/msw/lib/core/typeUtils.js.map
clapton-0.0.22 lib/clapton/javascripts/node_modules/msw/lib/core/typeUtils.js.map
clapton-0.0.21 lib/clapton/javascripts/node_modules/msw/lib/core/typeUtils.js.map
clapton-0.0.20 lib/clapton/javascripts/node_modules/msw/lib/core/typeUtils.js.map
clapton-0.0.19 lib/clapton/javascripts/node_modules/msw/lib/core/typeUtils.js.map
clapton-0.0.18 lib/clapton/javascripts/node_modules/msw/lib/core/typeUtils.js.map
clapton-0.0.17 lib/clapton/javascripts/node_modules/msw/lib/core/typeUtils.js.map
clapton-0.0.16 lib/clapton/javascripts/node_modules/msw/lib/core/typeUtils.js.map
clapton-0.0.15 lib/clapton/javascripts/node_modules/msw/lib/core/typeUtils.js.map
clapton-0.0.14 lib/clapton/javascripts/node_modules/msw/lib/core/typeUtils.js.map
clapton-0.0.13 lib/clapton/javascripts/node_modules/msw/lib/core/typeUtils.js.map
clapton-0.0.12 lib/clapton/javascripts/node_modules/msw/lib/core/typeUtils.js.map
clapton-0.0.11 lib/clapton/javascripts/node_modules/msw/lib/core/typeUtils.js.map
clapton-0.0.10 lib/clapton/javascripts/node_modules/msw/lib/core/typeUtils.js.map
clapton-0.0.9 lib/clapton/javascripts/node_modules/msw/lib/core/typeUtils.js.map
clapton-0.0.8 lib/clapton/javascripts/node_modules/msw/lib/core/typeUtils.js.map
clapton-0.0.7 lib/clapton/javascripts/node_modules/msw/lib/core/typeUtils.js.map