Closed igalklebanov closed 1 year ago
This is because tsd
doesn't currently support checking for that error (similar to #173). The first error message is because tsd
didn't find any errors that it recognizes, and the second is an error reported by the TypeScript compiler that tsd
just outputs.
The first error could have a more descriptive message. Related discussion in #177.
This one is weird.
expectError
is not finding an error & finding an error for the same check.https://github.com/igalklebanov/kysely/blob/tighten-input-objects/test/typings/test-d/update.test-d.ts
also happens after updating tsd to 0.24.1.
removing
exactOptionalPropertyTypes: true
fromtest/typings/tsconfig.json
makes it pass all tests.