pdf: fixed definition (fixes test)

This commit is contained in:
Igor Oleinikov 2013-12-19 19:30:43 +04:00
parent 7d38e1ff5e
commit ebc032b8e1
2 changed files with 1 additions and 3 deletions

View File

@ -1,7 +1,5 @@
/// <reference path="pdf.d.ts" />
var pdf: PDFPageProxy;
//
// Fetch the PDF document from the URL using promises
//

2
pdf/pdf.d.ts vendored
View File

@ -27,7 +27,7 @@ interface PDFPromise<T> {
isRejected(): boolean;
resolve(value: T): void;
reject(reason: string): void;
then<T>(onResolve: (promise: T) => void, onReject?: (reason: string) => void): PDFPromise<T>;
then(onResolve: (promise: T) => void, onReject?: (reason: string) => void): PDFPromise<T>;
}
interface PDFTreeNode {