-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Copied typings from DefinitelyTyped
Adds TypeScript as a dev dependency and specifies `index.d.ts` as typings, with `--noEmit` tests run as part of `test`.
- Loading branch information
Josh Goldberg
committed
Dec 18, 2017
1 parent
b36f593
commit 5a4e8e0
Showing
5 changed files
with
2,037 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
type AssertionError<T = {}> = Error & T & { | ||
showDiff: boolean; | ||
}; | ||
|
||
interface AssertionErrorConstructor { | ||
new<T = {}>(message: string, props?: T, ssf?: Function): AssertionError<T>; | ||
} | ||
|
||
declare const AssertionError: AssertionErrorConstructor; | ||
|
||
export = AssertionError; |
Oops, something went wrong.