@types/filewriter
Advanced tools
Comparing version 0.0.26-alpha to 0.0.27
// Type definitions for File API: Writer | ||
// Project: http://www.w3.org/TR/file-writer-api/ | ||
// Definitions by: Kon <http://phyzkit.net/> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// Definitions by: Kon <http://phyzkit.net/> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -24,3 +24,3 @@ /** | ||
*/ | ||
abort():void; | ||
abort(): void; | ||
@@ -31,3 +31,3 @@ /** | ||
*/ | ||
INIT:number; | ||
INIT: number; | ||
@@ -38,3 +38,3 @@ /** | ||
*/ | ||
WRITING:number; | ||
WRITING: number; | ||
@@ -45,3 +45,3 @@ /** | ||
*/ | ||
DONE:number; | ||
DONE: number; | ||
@@ -57,9 +57,9 @@ /** | ||
*/ | ||
readyState:number; | ||
readyState: number; | ||
/** | ||
* The last error that occurred on the FileSaver. | ||
* @readonly | ||
* @readonly | ||
*/ | ||
error:DOMError; | ||
error: Error; | ||
@@ -69,3 +69,3 @@ /** | ||
*/ | ||
onwritestart:Function; | ||
onwritestart: (event: ProgressEvent) => void; | ||
@@ -75,3 +75,3 @@ /** | ||
*/ | ||
onprogress:Function; | ||
onprogress: (event: ProgressEvent) => void; | ||
@@ -81,3 +81,3 @@ /** | ||
*/ | ||
onwrite:Function; | ||
onwrite: (event: ProgressEvent) => void; | ||
@@ -87,3 +87,3 @@ /** | ||
*/ | ||
onabort:Function; | ||
onabort: (event: ProgressEvent) => void; | ||
@@ -93,3 +93,3 @@ /** | ||
*/ | ||
onerror:Function; | ||
onerror: (event: ProgressEvent) => void; | ||
@@ -99,3 +99,3 @@ /** | ||
*/ | ||
onwriteend:Function; | ||
onwriteend: (event: ProgressEvent) => void; | ||
} | ||
@@ -127,3 +127,3 @@ | ||
/** | ||
* Write the supplied data to the file at position. | ||
* Write the supplied data to the file at position. | ||
* @param data The blob to write. | ||
@@ -186,4 +186,4 @@ */ | ||
* @param size The size to which the length of the file is to be adjusted, measured in bytes. | ||
*/ | ||
*/ | ||
truncate(size:number):void; | ||
} |
{ | ||
"name": "@types/filewriter", | ||
"version": "0.0.26-alpha", | ||
"version": "0.0.27", | ||
"description": "TypeScript definitions for File API: Writer", | ||
"main": "", | ||
"scripts": {}, | ||
"author": "Kon <http://phyzkit.net/> ", | ||
"author": "Kon <http://phyzkit.net/>", | ||
"repository": { | ||
@@ -9,0 +9,0 @@ "type": "git", |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Fri, 08 Jul 2016 19:21:57 GMT | ||
* Last updated: Thu, 14 Jul 2016 13:52:40 GMT | ||
* File structure: Global | ||
@@ -19,2 +19,2 @@ * Library Dependencies: none | ||
# Credits | ||
These definitions were written by Kon <http://phyzkit.net/> . | ||
These definitions were written by Kon <http://phyzkit.net/>. |
{ | ||
"authors": "Kon <http://phyzkit.net/> ", | ||
"authors": "Kon <http://phyzkit.net/>", | ||
"definitionFilename": "index.d.ts", | ||
@@ -21,3 +21,3 @@ "libraryDependencies": [], | ||
], | ||
"contentHash": "4205f9bc76b86a7dd9ec0376fb6c014895a10efe1b79378149a5891dd09d01b6" | ||
"contentHash": "ca1aba6df1f6578186b88b98e0d8c4519997696df545dec3ef8c499079c769fa" | ||
} |
8072