Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Apr 1, 2024

Conversation

EvanHahn
Copy link
Contributor

@EvanHahn EvanHahn commented Apr 1, 2024

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.

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][0].

[0]: holepunchto/brittle#45
@EvanHahn EvanHahn merged commit f4f2260 into main Apr 1, 2024
4 checks passed
@EvanHahn EvanHahn deleted the brittle-snapshot branch April 1, 2024 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants