Jake Bailey
Jake Bailey
> I only know that types should not actually install an library. It should be used as devDependency or peerdependency. This is generally not true; types dependencies are real dependencies,...
> There is no problem if a type library depends on a type library, but if it is changed to a complete library, we must pay attention to its impact....
Is this fixed by now?
This is expected behavior in 4.8. See this section in the blog post: https://devblogs.microsoft.com/typescript/announcing-typescript-4-8/#unconstrained-generics-no-longer-assignable-to You probably want to change your type variable to be constrained to `{}` by writing `T...
Honestly, I didn't even notice that the operator you used was `>`. It does seem weird that the above compiles, yet, this does not. ```ts function f(a: T, b: T):...
I think they may mean the json schema on schemastore?
It's technically a third party and just needs to be updated by someone: https://github.com/SchemaStore/schemastore/blob/master/src/schemas/json/tsconfig.json
The option is now on https://www.typescriptlang.org/tsconfig/#isolatedDeclarations, and will be on schemastore once a PR is sent to copy the schema updates from https://github.com/microsoft/TypeScript-Website/pull/3175 (to both tsconfig and jsconfig schemas).
Schemastore should be updated now.
IIRC, #60052 addresses that case?