Hi,
I have the following typescript error on the moralis library. I suspect itâs a typescript compatibility issue. Just curious which version of typescript should I use to go with the Moralis library. Thank ou
TypeScript error in node_modules/@moralisweb3/core/lib/utils/toCamelCase.d.ts(1,62):
Type expected. TS1110
> 1 | declare type CamelCase<Input extends string> = Input extends `${infer P1}_${infer P2}${infer P3}` ? `${P1}${Uppercase<P2>}${CamelCase<P3>}` : Input;
| ^
2 | export declare type Camelize<Data> = {
3 | [Key in keyof Data as CamelCase<string & Key>]: Data[Key] extends Array<infer Value> ? Value extends {} ? Array<Camelize<Value>> : Data[Key] : Data[Key] extends {} ? Camelize<Data[Key]> : Data[Key];
4 | };