digidem / mapeo-core-next

The upcoming version of Mapeo Core
MIT License
7 stars 1 forks source link

chore: add Brittle's `t.snapshot()` to type definitions #535

Closed EvanHahn closed 5 months ago

EvanHahn commented 5 months ago

Brittle has t.snapshot() which checks a value against a snapshot. It's undocumented but we use it. This commit adds it to the type definitions and removes a @ts-ignore.

See also: a PR on Brittle to document this function.