Skip to content
This repository has been archived by the owner on Dec 1, 2019. It is now read-only.

Commit

Permalink
feat(runtime): add require signature for AMD
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanislav Panferov committed Jul 23, 2015
1 parent ca86fd7 commit 970ff87
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/runtime.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ interface WebpackRequireEnsureCallback {

interface WebpackRequire {
(id: string): any;
ensure(ids: string[], callback: WebpackRequireEnsureCallback): void;
(paths: string[], callback: (...modules: any[]) => void): void;
ensure(ids: string[], callback: WebpackRequireEnsureCallback, chunkName?: string): void;
}

declare var require: WebpackRequire;

0 comments on commit 970ff87

Please sign in to comment.