fix(all): type issues with TS 3.2

This commit is contained in:
Manu Mtz.-Almeida
2018-12-03 19:48:12 +01:00
committed by Manu MA
parent 63cbc92741
commit aa9d0d4282
5 changed files with 8 additions and 8 deletions

View File

@ -99,7 +99,7 @@ export class PickerColumnCmp implements ComponentInterface {
let translateZ = 0;
const { col, rotateFactor } = this;
const selectedIndex = col.selectedIndex = this.indexForY(-y);
const durationStr = (duration === 0) ? null : duration + 'ms';
const durationStr = (duration === 0) ? '' : duration + 'ms';
const scaleStr = `scale(${this.scaleFactor})`;
const children = this.optsEl.children;