feat(extension-system): transport now extensible #1737
Annotations
10 errors
Run pnpm check:types:
src/ClientPreset/ClientPreset.ts#L9
Module '"../extension/extension.js"' declares 'Extension' locally, but it is not exported.
|
Run pnpm check:types:
src/ClientPreset/ClientPreset.ts#L135
Type 'InferExtensionFromConstructor<$ExtensionConstructor>' does not satisfy the constraint 'Extension<string, object | undefined, BuilderExtension | undefined, TypeHooks, Transport | undefined>'.
|
Run pnpm check:types:
src/ClientPreset/__.test.ts#L7
Type 'ExtensionConstructor<[input?: ConfigInput | undefined], Config, "Introspection", any, EmptyTypeHooks, object, undefined>' is not assignable to type 'ExtensionConstructor<any>'.
|
Run pnpm check:types:
src/ClientPreset/__.test.ts#L8
Argument of type '[{ introspection: { options: { descriptions: boolean; }; }; }]' is not assignable to parameter of type '[] | [{ output?: OutputInput | undefined; checkPreflight?: boolean | undefined; }]'.
|
Run pnpm check:types:
src/ClientPreset/__.test.ts#L9
Property 'introspect' does not exist on type 'Client<SetKeysOptional<ContextEmpty, { input: { output?: OutputInput | undefined; checkPreflight?: boolean | undefined; }; name: string; schemaMap: SchemaDrivenDataMap | null; scalars: Empty | Registry<ScalarMap, any, any>; checkPreflight: boolean | undefined; config: NormalizeInput<{ output?: OutputInput | undefined; checkPreflight?: boolean | undefined; }>; }>>'.
|
Run pnpm check:types:
src/ClientPreset/__.test.ts#L22
Type 'ExtensionConstructor<[_: { a: 1; b?: 2 | undefined; }], { a: number; b: number; }, "test", BuilderExtension<Extension | undefined>, EmptyTypeHooks, object, undefined>' is not assignable to type 'ExtensionConstructor<any>'.
|
Run pnpm check:types:
src/ClientPreset/__.test.ts#L23
Unused '@ts-expect-error' directive.
|
Run pnpm check:types:
src/ClientPreset/__.test.ts#L25
Unused '@ts-expect-error' directive.
|
Run pnpm check:types:
src/ClientPreset/__.test.ts#L27
Argument of type '[{ test: { a: number; }; }]' is not assignable to parameter of type '[] | [{ output?: OutputInput | undefined; checkPreflight?: boolean | undefined; }]'.
|
Run pnpm check:types:
src/ClientPreset/__.test.ts#L40
Type 'ExtensionConstructor<[_?: { a?: 1 | undefined; b?: 2 | undefined; } | undefined], { a: number; b: number; }, "test", BuilderExtension<Extension | undefined>, EmptyTypeHooks, object, undefined>' is not assignable to type 'ExtensionConstructor<any>'.
|
Loading