Browse Source

Fix type annotation #134

Ben Hsieh 8 years ago
parent
commit
c7a667ac01
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/polyfill/Blob.js

+ 1
- 1
src/polyfill/Blob.js View File

224
    * @param  {string} contentType Optional, content type of new Blob object
224
    * @param  {string} contentType Optional, content type of new Blob object
225
    * @return {Blob}
225
    * @return {Blob}
226
    */
226
    */
227
-  slice(start:?number, end:?number, contentType='':?string):Blob {
227
+  slice(start:?number, end:?number, contentType:?string=''):Blob {
228
     if(this._closed)
228
     if(this._closed)
229
       throw 'Blob has been released.'
229
       throw 'Blob has been released.'
230
     log.verbose('slice called', start, end, contentType)
230
     log.verbose('slice called', start, end, contentType)