We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i just updated my project now its full of type errors from this package. I dont even call this package so it is a dependancy of a dependancy... oh joy
do you guys plan to update or rollback your package to fix this please?
yarn compile --fix yarn run v1.22.19 $ tsc --noEmit && eslint --max-warnings 0 src --fix node_modules/types-ramda/es/index.d.ts:4453:22 - error TS1139: Type parameter declaration expected. 4453 export function pick<const Names extends readonly [PropertyKey, ...PropertyKey[]]>(names: Names): <U extends Record<ElementOf<Names>, any>>(obj: U) => string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~~~~~ node_modules/types-ramda/es/index.d.ts:4453:34 - error TS1005: ',' expected. 4453 export function pick<const Names extends readonly [PropertyKey, ...PropertyKey[]]>(names: Names): <U extends Record<ElementOf<Names>, any>>(obj: U) => string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~~~~~~~ node_modules/types-ramda/es/index.d.ts:4453:51 - error TS1005: ',' expected. 4453 export function pick<const Names extends readonly [PropertyKey, ...PropertyKey[]]>(names: Names): <U extends Record<ElementOf<Names>, any>>(obj: U) => string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~ node_modules/types-ramda/es/index.d.ts:4453:79 - error TS1005: ',' expected. 4453 export function pick<const Names extends readonly [PropertyKey, ...PropertyKey[]]>(names: Names): <U extends Record<ElementOf<Names>, any>>(obj: U) => string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~ node_modules/types-ramda/es/index.d.ts:4453:82 - error TS1005: ',' expected. 4453 export function pick<const Names extends readonly [PropertyKey, ...PropertyKey[]]>(names: Names): <U extends Record<ElementOf<Names>, any>>(obj: U) => string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~ node_modules/types-ramda/es/index.d.ts:4453:89 - error TS1005: ')' expected. 4453 export function pick<const Names extends readonly [PropertyKey, ...PropertyKey[]]>(names: Names): <U extends Record<ElementOf<Names>, any>>(obj: U) => string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~ node_modules/types-ramda/es/index.d.ts:4453:91 - error TS1434: Unexpected keyword or identifier. 4453 export function pick<const Names extends readonly [PropertyKey, ...PropertyKey[]]>(names: Names): <U extends Record<ElementOf<Names>, any>>(obj: U) => string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~~~~~ node_modules/types-ramda/es/index.d.ts:4453:96 - error TS1128: Declaration or statement expected. 4453 export function pick<const Names extends readonly [PropertyKey, ...PropertyKey[]]>(names: Names): <U extends Record<ElementOf<Names>, any>>(obj: U) => string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~ node_modules/types-ramda/es/index.d.ts:4453:97 - error TS1128: Declaration or statement expected. 4453 export function pick<const Names extends readonly [PropertyKey, ...PropertyKey[]]>(names: Names): <U extends Record<ElementOf<Names>, any>>(obj: U) => string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~ node_modules/types-ramda/es/index.d.ts:4453:159 - error TS1005: ';' expected. 4453 export function pick<const Names extends readonly [PropertyKey, ...PropertyKey[]]>(names: Names): <U extends Record<ElementOf<Names>, any>>(obj: U) => string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~~~~~~~ node_modules/types-ramda/es/index.d.ts:4453:167 - error TS1434: Unexpected keyword or identifier. 4453 export function pick<const Names extends readonly [PropertyKey, ...PropertyKey[]]>(names: Names): <U extends Record<ElementOf<Names>, any>>(obj: U) => string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~~~~~ node_modules/types-ramda/es/index.d.ts:4454:25 - error TS1139: Type parameter declaration expected. 4454 export function pick<U, const Names extends readonly [keyof U, ...(keyof U)[]]>(names: Names, obj: U): string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~~~~~ node_modules/types-ramda/es/index.d.ts:4454:37 - error TS1005: ',' expected. 4454 export function pick<U, const Names extends readonly [keyof U, ...(keyof U)[]]>(names: Names, obj: U): string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~~~~~~~ node_modules/types-ramda/es/index.d.ts:4454:54 - error TS1005: ',' expected. 4454 export function pick<U, const Names extends readonly [keyof U, ...(keyof U)[]]>(names: Names, obj: U): string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~ node_modules/types-ramda/es/index.d.ts:4454:61 - error TS1005: ',' expected. 4454 export function pick<U, const Names extends readonly [keyof U, ...(keyof U)[]]>(names: Names, obj: U): string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~ node_modules/types-ramda/es/index.d.ts:4454:67 - error TS1003: Identifier expected. 4454 export function pick<U, const Names extends readonly [keyof U, ...(keyof U)[]]>(names: Names, obj: U): string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~ node_modules/types-ramda/es/index.d.ts:4454:74 - error TS1005: ')' expected. 4454 export function pick<U, const Names extends readonly [keyof U, ...(keyof U)[]]>(names: Names, obj: U): string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~ node_modules/types-ramda/es/index.d.ts:4454:75 - error TS1128: Declaration or statement expected. 4454 export function pick<U, const Names extends readonly [keyof U, ...(keyof U)[]]>(names: Names, obj: U): string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~ node_modules/types-ramda/es/index.d.ts:4454:78 - error TS1005: ';' expected. 4454 export function pick<U, const Names extends readonly [keyof U, ...(keyof U)[]]>(names: Names, obj: U): string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~ node_modules/types-ramda/es/index.d.ts:4454:79 - error TS1109: Expression expected. 4454 export function pick<U, const Names extends readonly [keyof U, ...(keyof U)[]]>(names: Names, obj: U): string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~ node_modules/types-ramda/es/index.d.ts:4454:86 - error TS1005: ')' expected. 4454 export function pick<U, const Names extends readonly [keyof U, ...(keyof U)[]]>(names: Names, obj: U): string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~ node_modules/types-ramda/es/index.d.ts:4454:98 - error TS1005: ';' expected. 4454 export function pick<U, const Names extends readonly [keyof U, ...(keyof U)[]]>(names: Names, obj: U): string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~ node_modules/types-ramda/es/index.d.ts:4454:100 - error TS1434: Unexpected keyword or identifier. 4454 export function pick<U, const Names extends readonly [keyof U, ...(keyof U)[]]>(names: Names, obj: U): string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~ node_modules/types-ramda/es/index.d.ts:4454:101 - error TS1128: Declaration or statement expected. 4454 export function pick<U, const Names extends readonly [keyof U, ...(keyof U)[]]>(names: Names, obj: U): string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~ node_modules/types-ramda/es/index.d.ts:4454:102 - error TS1128: Declaration or statement expected. 4454 export function pick<U, const Names extends readonly [keyof U, ...(keyof U)[]]>(names: Names, obj: U): string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~ node_modules/types-ramda/es/index.d.ts:4454:104 - error TS1434: Unexpected keyword or identifier. 4454 export function pick<U, const Names extends readonly [keyof U, ...(keyof U)[]]>(names: Names, obj: U): string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~~~~~~ node_modules/types-ramda/es/index.d.ts:4454:111 - error TS1128: Declaration or statement expected. 4454 export function pick<U, const Names extends readonly [keyof U, ...(keyof U)[]]>(names: Names, obj: U): string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~~~~~~~ node_modules/types-ramda/es/index.d.ts:4454:119 - error TS1434: Unexpected keyword or identifier. 4454 export function pick<U, const Names extends readonly [keyof U, ...(keyof U)[]]>(names: Names, obj: U): string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~~~~~ Found 28 errors in the same file, starting at: node_modules/types-ramda/es/index.d.ts:4453 error Command failed with exit code 2. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. ➜ moralis-admin-frontend git:(feat-streams-additional-data-step) ✗ yarn compile --fix yarn run v1.22.19 $ tsc --noEmit && eslint --max-warnings 0 src --fix node_modules/types-ramda/es/index.d.ts:4453:22 - error TS1139: Type parameter declaration expected. 4453 export function pick<const Names extends readonly [PropertyKey, ...PropertyKey[]]>(names: Names): <U extends Record<ElementOf<Names>, any>>(obj: U) => string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~~~~~ node_modules/types-ramda/es/index.d.ts:4453:34 - error TS1005: ',' expected. 4453 export function pick<const Names extends readonly [PropertyKey, ...PropertyKey[]]>(names: Names): <U extends Record<ElementOf<Names>, any>>(obj: U) => string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~~~~~~~ node_modules/types-ramda/es/index.d.ts:4453:51 - error TS1005: ',' expected. 4453 export function pick<const Names extends readonly [PropertyKey, ...PropertyKey[]]>(names: Names): <U extends Record<ElementOf<Names>, any>>(obj: U) => string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~ node_modules/types-ramda/es/index.d.ts:4453:79 - error TS1005: ',' expected. 4453 export function pick<const Names extends readonly [PropertyKey, ...PropertyKey[]]>(names: Names): <U extends Record<ElementOf<Names>, any>>(obj: U) => string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~ node_modules/types-ramda/es/index.d.ts:4453:82 - error TS1005: ',' expected. 4453 export function pick<const Names extends readonly [PropertyKey, ...PropertyKey[]]>(names: Names): <U extends Record<ElementOf<Names>, any>>(obj: U) => string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~ node_modules/types-ramda/es/index.d.ts:4453:89 - error TS1005: ')' expected. 4453 export function pick<const Names extends readonly [PropertyKey, ...PropertyKey[]]>(names: Names): <U extends Record<ElementOf<Names>, any>>(obj: U) => string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~ node_modules/types-ramda/es/index.d.ts:4453:91 - error TS1434: Unexpected keyword or identifier. 4453 export function pick<const Names extends readonly [PropertyKey, ...PropertyKey[]]>(names: Names): <U extends Record<ElementOf<Names>, any>>(obj: U) => string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~~~~~ node_modules/types-ramda/es/index.d.ts:4453:96 - error TS1128: Declaration or statement expected. 4453 export function pick<const Names extends readonly [PropertyKey, ...PropertyKey[]]>(names: Names): <U extends Record<ElementOf<Names>, any>>(obj: U) => string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~ node_modules/types-ramda/es/index.d.ts:4453:97 - error TS1128: Declaration or statement expected. 4453 export function pick<const Names extends readonly [PropertyKey, ...PropertyKey[]]>(names: Names): <U extends Record<ElementOf<Names>, any>>(obj: U) => string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~ node_modules/types-ramda/es/index.d.ts:4453:159 - error TS1005: ';' expected. 4453 export function pick<const Names extends readonly [PropertyKey, ...PropertyKey[]]>(names: Names): <U extends Record<ElementOf<Names>, any>>(obj: U) => string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~~~~~~~ node_modules/types-ramda/es/index.d.ts:4453:167 - error TS1434: Unexpected keyword or identifier. 4453 export function pick<const Names extends readonly [PropertyKey, ...PropertyKey[]]>(names: Names): <U extends Record<ElementOf<Names>, any>>(obj: U) => string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~~~~~ node_modules/types-ramda/es/index.d.ts:4454:25 - error TS1139: Type parameter declaration expected. 4454 export function pick<U, const Names extends readonly [keyof U, ...(keyof U)[]]>(names: Names, obj: U): string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~~~~~ node_modules/types-ramda/es/index.d.ts:4454:37 - error TS1005: ',' expected. 4454 export function pick<U, const Names extends readonly [keyof U, ...(keyof U)[]]>(names: Names, obj: U): string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~~~~~~~ node_modules/types-ramda/es/index.d.ts:4454:54 - error TS1005: ',' expected. 4454 export function pick<U, const Names extends readonly [keyof U, ...(keyof U)[]]>(names: Names, obj: U): string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~ node_modules/types-ramda/es/index.d.ts:4454:61 - error TS1005: ',' expected. 4454 export function pick<U, const Names extends readonly [keyof U, ...(keyof U)[]]>(names: Names, obj: U): string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~ node_modules/types-ramda/es/index.d.ts:4454:67 - error TS1003: Identifier expected. 4454 export function pick<U, const Names extends readonly [keyof U, ...(keyof U)[]]>(names: Names, obj: U): string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~ node_modules/types-ramda/es/index.d.ts:4454:74 - error TS1005: ')' expected. 4454 export function pick<U, const Names extends readonly [keyof U, ...(keyof U)[]]>(names: Names, obj: U): string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~ node_modules/types-ramda/es/index.d.ts:4454:75 - error TS1128: Declaration or statement expected. 4454 export function pick<U, const Names extends readonly [keyof U, ...(keyof U)[]]>(names: Names, obj: U): string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~ node_modules/types-ramda/es/index.d.ts:4454:78 - error TS1005: ';' expected. 4454 export function pick<U, const Names extends readonly [keyof U, ...(keyof U)[]]>(names: Names, obj: U): string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~ node_modules/types-ramda/es/index.d.ts:4454:79 - error TS1109: Expression expected. 4454 export function pick<U, const Names extends readonly [keyof U, ...(keyof U)[]]>(names: Names, obj: U): string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~ node_modules/types-ramda/es/index.d.ts:4454:86 - error TS1005: ')' expected. 4454 export function pick<U, const Names extends readonly [keyof U, ...(keyof U)[]]>(names: Names, obj: U): string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~ node_modules/types-ramda/es/index.d.ts:4454:98 - error TS1005: ';' expected. 4454 export function pick<U, const Names extends readonly [keyof U, ...(keyof U)[]]>(names: Names, obj: U): string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~ node_modules/types-ramda/es/index.d.ts:4454:100 - error TS1434: Unexpected keyword or identifier. 4454 export function pick<U, const Names extends readonly [keyof U, ...(keyof U)[]]>(names: Names, obj: U): string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~ node_modules/types-ramda/es/index.d.ts:4454:101 - error TS1128: Declaration or statement expected. 4454 export function pick<U, const Names extends readonly [keyof U, ...(keyof U)[]]>(names: Names, obj: U): string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~ node_modules/types-ramda/es/index.d.ts:4454:102 - error TS1128: Declaration or statement expected. 4454 export function pick<U, const Names extends readonly [keyof U, ...(keyof U)[]]>(names: Names, obj: U): string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~ node_modules/types-ramda/es/index.d.ts:4454:104 - error TS1434: Unexpected keyword or identifier. 4454 export function pick<U, const Names extends readonly [keyof U, ...(keyof U)[]]>(names: Names, obj: U): string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~~~~~~ node_modules/types-ramda/es/index.d.ts:4454:111 - error TS1128: Declaration or statement expected. 4454 export function pick<U, const Names extends readonly [keyof U, ...(keyof U)[]]>(names: Names, obj: U): string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~~~~~~~ node_modules/types-ramda/es/index.d.ts:4454:119 - error TS1434: Unexpected keyword or identifier. 4454 export function pick<U, const Names extends readonly [keyof U, ...(keyof U)[]]>(names: Names, obj: U): string extends keyof U ? Record<string, U[keyof U]> : Pick<U, ElementOf<Names>>; ~~~~~ Found 28 errors in the same file, starting at: node_modules/types-ramda/es/index.d.ts:4453
The text was updated successfully, but these errors were encountered:
See: #64
Sorry, something went wrong.
This MR should fix ts4 incompatibilities: #80
No branches or pull requests
i just updated my project now its full of type errors from this package. I dont even call this package so it is a dependancy of a dependancy... oh joy
do you guys plan to update or rollback your package to fix this please?
The text was updated successfully, but these errors were encountered: