Skip to content

Instantly share code, notes, and snippets.

@tmaslen
Created November 23, 2017 15:50
Show Gist options
  • Save tmaslen/3c1409a5a7341741e2f383aaa36f8201 to your computer and use it in GitHub Desktop.
Save tmaslen/3c1409a5a7341741e2f383aaa36f8201 to your computer and use it in GitHub Desktop.
Minimum Typescript definitions for mocha.js
type Callback = () => void;
export function describe(description: string, callback: Callback);
export function it(description: string, callback: Callback);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment