last any type + reference

This commit is contained in:
unknown
2015-02-25 00:28:03 +01:00
parent c6f2524d66
commit d1e97f22f3
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -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);
}