revert: build: switch to typescript's es2015 typings (#28134)

This reverts commit a6fd118f79.
This commit is contained in:
Matias Niemelä
2019-02-05 18:08:39 -05:00
parent a6fd118f79
commit 483e8d28ec
5 changed files with 133 additions and 3 deletions

View File

@ -35,7 +35,7 @@ export class BitmapService {
toDataUri(imageData: ImageData): string {
const header = this._createBMPHeader(imageData);
imageData = this._imageDataToBMP(imageData);
return 'data:image/bmp;base64,' + btoa(header) + fromByteArray(Uint8Array.from(imageData.data));
return 'data:image/bmp;base64,' + btoa(header) + fromByteArray(imageData.data);
}
// converts a .bmp file ArrayBuffer to a dataURI