1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00

fix typescript error (#99)

This commit is contained in:
ztplz 2018-06-04 15:06:42 +08:00 committed by Ryan Dahl
parent 3ddb4017fd
commit 37dd416505

View file

@ -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