tsdjs / tsd

Check TypeScript type definitions
MIT License
2.36k stars 68 forks source link

fix(`expectError`): report missing diagnostic codes #178

Closed tommy-mitchell closed 1 year ago

tommy-mitchell commented 1 year ago

Implements https://github.com/SamVerschueren/tsd/pull/177#issuecomment-1461472116.

expectError now behaves in three ways:

tommy-mitchell commented 1 year ago

Should probably also document in the readme that syntax errors can’t be ignored.

sindresorhus commented 1 year ago

Thanks :)