Skip to content

Commit

Permalink
fix(@angular/cli): fix import path for TimingOptions
Browse files Browse the repository at this point in the history
Fixes #13978
  • Loading branch information
Alan authored and hansl committed Mar 25, 2019
1 parent c0b57ef commit 75abc79
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/angular/cli/models/analytics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import * as inquirer from 'inquirer';
import * as os from 'os';
import * as ua from 'universal-analytics';
import { v4 as uuidV4 } from 'uuid';
import { TimingOptions } from '../../../angular_devkit/core/src/analytics';
import { getWorkspace, getWorkspaceRaw } from '../utilities/config';

const analyticsDebug = debug('ng:analytics'); // Generate analytics, including settings and users.
Expand Down Expand Up @@ -309,7 +308,7 @@ export class UniversalAnalytics implements analytics.Analytics {
this._dirty = true;
this._ua.pageview({ dp, dh, dt, ...vars });
}
timing(utc: string, utv: string, utt: string | number, options: TimingOptions = {}) {
timing(utc: string, utv: string, utt: string | number, options: analytics.TimingOptions = {}) {
const vars = this._customVariables(options);
analyticsLogDebug('timing utc=%j, utv=%j, utl=%j, %j', utc, utv, utt, vars);

Expand Down

0 comments on commit 75abc79

Please sign in to comment.