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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
unknowns
"ts-toolbelt": "^9.6.0" "typescript": "^4.4.4"
and my tsconfig
{ "compilerOptions": { "baseUrl": ".", "lib": ["ES2015", "ES2016", "ES2017", "ES2018", "ES2019", "ES2020"], "strictNullChecks": true, "strict": true, "isolatedModules": true, "esModuleInterop": true, "moduleResolution": "node", "declaration": true, "declarationDir": "./types/" } }
I see some types that I'd not expect from reading the docs on the utils:
export type MyType = { strArr: string[] } type t1 = O.Assign<MyType, [Partial<MyType>, { a?: number }, { b: number }], 'deep'> // expect // { // b: number; // a?: number; // strArr: string[]; // } // get // { // b: number; // a?: unknown; // strArr: unknown; // } type t2 = O.MergeAll<MyType, [Partial<MyType>, { a?: number }, { b: number }], 'deep'> // expect // { // strArr: string[]; // a?: number; // b: number; // } // get // { // strArr: string[]; // a?: unknown; // b: number; // }
edit: fixed some typos in the expected/gotten types
The text was updated successfully, but these errors were encountered:
No branches or pull requests
馃悶 Bug Report
and my tsconfig
Describe the bug
I see some types that I'd not expect from reading the docs on the utils:
Reproduce the bug
edit: fixed some typos in the expected/gotten types
The text was updated successfully, but these errors were encountered: