mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
last any type + reference
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
/// <reference path="zip.js.d.ts" />
|
||||
|
||||
// create the blob object storing the data to compress
|
||||
var blob: Blob = new Blob([ "Lorem ipsum dolor sit amet, consectetuer adipiscing elit..." ], {
|
||||
type : "text/plain"
|
||||
@@ -38,6 +40,6 @@ function unzipBlob(blob: Blob, callback: (unzippedBlob: Blob) => void) {
|
||||
}, theErrorHandler);
|
||||
}
|
||||
|
||||
function theErrorHandler(message) {
|
||||
function theErrorHandler(message: any) {
|
||||
console.error(message);
|
||||
}
|
||||
Vendored
+1
-1
@@ -58,7 +58,7 @@ declare module zip {
|
||||
export class Writer {
|
||||
public init(callback: () => void, onerror?: (error: any) => void): void;
|
||||
public writeUint8Array(array: Uint8Array, callback: () => void, onerror?: (error: any) => void): void;
|
||||
public getData(callback: (data) => void, onerror?: (error: any) => void) : void;
|
||||
public getData(callback: (data: any) => void, onerror?: (error: any) => void) : void;
|
||||
}
|
||||
|
||||
export class TextWriter extends Writer {
|
||||
|
||||
Reference in New Issue
Block a user