diff --git a/lib/jasmine.async.d.ts b/lib/jasmine.async.d.ts new file mode 100644 index 0000000..82822ff --- /dev/null +++ b/lib/jasmine.async.d.ts @@ -0,0 +1,13 @@ + +// expose the AsyncSpec object +declare var AsyncSpec: asyncjasmine.AsyncSpec; + +declare module asyncjasmine { + + interface AsyncSpec { + new (spec: any); + beforeEach(block: (done: Function) => void): void; + afterEach(block: (done: Function) => void): void; + it(description: string, block: (done: Function) => void): void; + } +}