From 1c24096650b7ff4eba6e2064b24fc9f67f2e8806 Mon Sep 17 00:00:00 2001 From: Tobias Bosch Date: Thu, 15 Sep 2016 09:42:04 -0700 Subject: [PATCH] refactor(benchpress): add more types --- modules/@angular/benchpress/src/sampler.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/@angular/benchpress/src/sampler.ts b/modules/@angular/benchpress/src/sampler.ts index 8befa2cc47..6576f0f7a1 100644 --- a/modules/@angular/benchpress/src/sampler.ts +++ b/modules/@angular/benchpress/src/sampler.ts @@ -49,7 +49,7 @@ export class Sampler { } private _iterate(lastState: SampleState): Promise { - var resultPromise: Promise; + var resultPromise: Promise; if (this._prepare !== Options.NO_PREPARE) { resultPromise = this._driver.waitFor(this._prepare); } else { @@ -77,5 +77,5 @@ export class Sampler { } export class SampleState { - constructor(public completeSample: any[], public validSample: any[]) {} + constructor(public completeSample: MeasureValues[], public validSample: MeasureValues[]) {} }