Skip to content

Commit

Permalink
fix typescript error (denoland#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
ztplz authored and ry committed Jun 4, 2018
1 parent 3ddb401 commit 37dd416
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import * as deno from "./deno";
const EOL = "\n";

// tslint:disable-next-line:no-any
type AmdFactory = (...args: any[]) => undefined | object;
type AmdDefine = (deps: string[], factory: AmdFactory) => void;
export type AmdFactory = (...args: any[]) => undefined | object;
export type AmdDefine = (deps: string[], factory: AmdFactory) => void;

// Uncaught exceptions are sent to window.onerror by v8worker2.
// https://git.io/vhOsf
Expand Down

0 comments on commit 37dd416

Please sign in to comment.