mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 19:07:08 +00:00
pdf: fixed definition (fixes test)
This commit is contained in:
parent
7d38e1ff5e
commit
ebc032b8e1
@ -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
2
pdf/pdf.d.ts
vendored
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user