Skip to content

Instantly share code, notes, and snippets.

@schermannj
Created June 28, 2016 20:52
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 schermannj/613f263ab905a8ec18233e18e9dd7f37 to your computer and use it in GitHub Desktop.
Save schermannj/613f263ab905a8ec18233e18e9dd7f37 to your computer and use it in GitHub Desktop.
declare var require: {
<T>(path: string): T;
(paths: string[], callback: (...modules: any[]) => void): void;
ensure: (paths: string[], callback: (require: <T>(path: string) => T) => void) => void;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment