tsdjs / tsd

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

Found an error that tsd does not currently support (ts2353) #201

Closed UziTech closed 7 months ago

UziTech commented 7 months ago

Got this error after updating to 0.30.0:

https://github.com/UziTech/marked-emoji/actions/runs/7243096934/job/19729425819?pr=207

Error thrown here:

https://github.com/UziTech/marked-emoji/blob/main/types_test/index.test-d.ts#L7

Mister-Hope commented 7 months ago

I also encountered this problem when upgrading to new version.

Hope tsd can support this issue detecting soon "Object literal may only specify known properties, and custom does not exist in type xxx."

manudeli commented 7 months ago

Same problem I met