chore: Upgrade typescript to v5.2.2 #1456
Annotations
2 errors
src/model.ts#L585
Type '{ readonly [x: string]: 0 | 1; readonly _id: 0; }' is not assignable to type 'Partial<Record<Join<WithId<TSchema> extends string | number | boolean | RegExp | Date | Buffer | Uint8Array | ((...args: any[]) => any) | { _bsontype: string; } ? [] : WithId<TSchema> extends readonly (infer ArrayType)[] ? [] | [number] | [...ArrayType extends string | number | boolean | RegExp | Date | Buffer | Uint8Array | ((...args: any[]) => any) | { _bsontype: string; } ? [] : ArrayType extends readonly (infer ArrayType)[] ? [] | [number] | [...ArrayType extends string | number | boolean | RegExp | Date | Buffer | Uint8Array | ((...args: any[]) => any) | { _bsontype: string; } ? [] : ArrayType extends readonly (infer ArrayType)[] ? [] | [number] | [...ArrayType extends string | number | boolean | RegExp | Date | Buffer | Uint8Array | ((...args: any[]) => any) | { _bsontype: string; } ? [] : ArrayType extends readonly (infer ArrayType)[] ? [] | [number] | [...ArrayType extends string | number | boolean | RegExp | Date | Buffer | Uint8Array | ((...args: any[]) => any) | { _bsontype: string; } ? [] : ArrayType extends readonly (infer ArrayType)[] ? [] | [number] | [...ArrayType extends string | number | boolean | RegExp | Date | Buffer | Uint8Array | ((...args: any[]) => any) | { _bsontype: string; } ? [] : ArrayType extends readonly (infer ArrayType)[] ? [] | [number] : ArrayType extends Map<string, any> ? [string] : ArrayType extends object ? { [Key in Extract<keyof ArrayType, string>]: ArrayType[Key] extends readonly any[] ? [Key] : [Key]; }[Extract<keyof ArrayType, string>] : []] | [number, ...ArrayType extends string | number | boolean | RegExp | Date | Buffer | Uint8Array | ((...args: any[]) => any) | { _bsontype: string; } ? [] : ArrayType extends readonly (infer ArrayType)[] ? [] | [number] : ArrayType extends Map<string, any> ? [string] : ArrayType extends object ? { [Key in Extract<keyof ArrayType, string>]: ArrayType[Key] extends readonly any[] ? [Key] : [Key]; }[Extract<keyof ArrayType, string>] : []] : ArrayType extends Map<string, any> ? [string] : ArrayType extends object ? { [Key in Extract<keyof ArrayType, string>]: ArrayType[Key] extends readonly any[] ? [Key, ...ArrayType[Key] extends string | number | boolean | RegExp | Date | Buffer | Uint8Array | ((...args: any[]) => any) | { _bsontype: string; } ? [] : ArrayType[Key] extends readonly (infer ArrayType)[] ? [] | [number] : ArrayType[Key] extends Map<string, any> ? [string] : ArrayType[Key] extends object ? { [Key in Extract<keyof ArrayType[Key], string>]: ArrayType[Key][Key] extends readonly any[] ? [Key] : [Key]; }[Extract<keyof ArrayType[Key], string>] : []] : [Key, ...ArrayType[Key] extends string | number | boolean | RegExp | Date | Buffer | Uint8Array | ((...args: any[]) => any) | { _bsontype: string; } ? [] : ArrayType[Key] extends readonly (infer ArrayType)[] ? [] | [number] : ArrayType[Key] extends Map<string, any> ? [string] : ArrayType[Key] extends object ? { [Key in Extract<keyof ArrayType[Key], string>]: ArrayType[Key][Key] extends readonly any[] ? [Key] : [Key]; }[Extract<keyof ArrayType[Key], string>] : []] | [Key]; }[Extract<keyof ArrayType, string>] : []] | [number, ...ArrayType extends string | number | boolean | RegExp | Date | Buffer | Uint8Array | ((...args: any[]) => any) | { _bsontype: string; } ? [] : ArrayType extends readonly (infer ArrayType)[] ? [] | [number] | [...ArrayType extends string | number | boolean | RegExp | Date | Buffer | Uint8Array | ((...args: any[]) => any) | { _bsontype: string; } ? [] : ArrayType extends readonly (infer ArrayType)[] ? [] | [number] : ArrayType extends Map<string, any> ? [string] : ArrayType extends object ? { [Key in Extract<keyof ArrayType, string>]: ArrayType[Key] extends readonly any[] ? [Key] : [Key]; }[Extract<keyof ArrayType, string>] : []] | [number, ...ArrayType extends string | number | boolean | RegExp | Date | Buffer | Uint8Array | ((...args: any[]) => any) | { _bsontype: string; } ? [] : ArrayType extends readonly (infer ArrayType)[] ? [] | [number] : ArrayType extends Map<string, any> ? [stri
|
|
The logs for this run have expired and are no longer available.
Loading