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:
parent
3ddb4017fd
commit
37dd416505
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue