ajvincent / es-membrane

An ECMAScript implementation of a Membrane, allowing users to dynamically hide, override, or extend objects in JavaScript with controlled effects on the original objects.
ISC License
109 stars 13 forks source link

SharedAssertSet: use `asserts` type annotation #256

Closed ajvincent closed 2 months ago

ajvincent commented 9 months ago

https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html#assertion-functions