Types are not compiled correctly
Closed this issue · 0 comments
lucasavila00 commented
node_modules/sql-select-ts/lib/index.d.ts:108:467 - error TS1005: '?' expected.
108 export declare const except: <C extends SelectStatement<any, any>, CS extends SelectStatement<any, any>[]>(content: [C, ...CS]) => Compound<(C extends SelectStatement<infer _Scope extends string, infer Selection extends string> ? Selection : never) | (CS[number] extends infer T ? T extends CS[number] ? T extends SelectStatement<string, string> ? string : never : never : never), C extends SelectStatement<infer _Scope extends string, infer Selection extends string> ? Selection : never>;