Skip to content

Instantly share code, notes, and snippets.

View cdanielsen's full-sized avatar

Christian Danielsen cdanielsen

View GitHub Profile

Keybase proof

I hereby claim:

  • I am cdanielsen on github.
  • I am cdanielsen (https://keybase.io/cdanielsen) on keybase.
  • I have a public key ASAjjfehr9wWb2fhkKfHxlkYD7LalLtKq3ustvfqaehrzgo

To claim this, I am signing this object:

@cdanielsen
cdanielsen / customMatcherHelper.ts
Created December 18, 2020 05:16
ts-custom-matcher
export {};
declare global {
// eslint-disable-next-line @typescript-eslint/no-namespace
namespace jest {
interface Matchers<R> {
toBeMemberOfEnum(): R;
}
}
}