Skip to content

Commit

Permalink
Workaround for microsoft#1168 in TS 1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle committed Jul 30, 2015
1 parent a24aa6f commit 076bca0
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions bin/lib.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -876,19 +876,12 @@ interface RegExpConstructor {

declare var RegExp: RegExpConstructor;

interface Error {
declare class Error {
name: string;
message: string;
constructor(message?: string);
}

interface ErrorConstructor {
new (message?: string): Error;
(message?: string): Error;
prototype: Error;
}

declare var Error: ErrorConstructor;

interface EvalError extends Error {
}

Expand Down

0 comments on commit 076bca0

Please sign in to comment.