mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
ec03e462f3
Migrate formatting to prettier for bazel, benchpress, elements and misc from clang-format PR Close #53995
24 lines
498 B
TypeScript
24 lines
498 B
TypeScript
/**
|
|
* @license
|
|
* Copyright Google LLC All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.io/license
|
|
*/
|
|
|
|
export class MeasureValues {
|
|
constructor(
|
|
public runIndex: number,
|
|
public timeStamp: Date,
|
|
public values: {[key: string]: any},
|
|
) {}
|
|
|
|
toJson() {
|
|
return {
|
|
'timeStamp': this.timeStamp.toJSON(),
|
|
'runIndex': this.runIndex,
|
|
'values': this.values,
|
|
};
|
|
}
|
|
}
|