Bump TypeScript to 3.7 (#4282)

* Bump TypeScript to 3.7

* Update prettier to support ts 3.7

* Prettier

* More prettier

* Even more prettier
This commit is contained in:
Bram Kragten
2019-11-27 22:51:03 +01:00
committed by Paulus Schoutsen
parent b8a026397b
commit 8a39d18323
100 changed files with 1165 additions and 600 deletions

View File

@@ -122,8 +122,9 @@ class HaCameraStream extends LitElement {
private async _startHls(): Promise<void> {
// tslint:disable-next-line
const Hls = ((await import(/* webpackChunkName: "hls.js" */ "hls.js")) as any)
.default as HLSModule;
const Hls = ((await import(
/* webpackChunkName: "hls.js" */ "hls.js"
)) as any).default as HLSModule;
let hlsSupported = Hls.isSupported();
const videoEl = this._videoEl;