Skip to content

Instantly share code, notes, and snippets.

@andykais
Last active March 10, 2020 13:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andykais/6b594f7822797ffb34fcf2d3a3218347 to your computer and use it in GitHub Desktop.
Save andykais/6b594f7822797ffb34fcf2d3a3218347 to your computer and use it in GitHub Desktop.
type EventsGeneric = { [eventName: string]: any }
type ServiceGeneric = { [fn: string]: (requestData: any) => any}
type FunctionsGeneric = { [fn: string]: (requestData: any) => any}

type ResolvePubbe...

Playground Link

/**
 * comapareDeep is for comparing expected serialized data with an actual value. Any two values can be passed in, but only valid JSON will be properly compared.
 *
 * @param expected the value you ...

Playground Link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment