Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit 12f184a

Browse files
authored
update dependency gts to ^0.9.0 (#224)
1 parent 645e620 commit 12f184a

File tree

42 files changed

+7370
-6663
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+7370
-6663
lines changed

packages/opencensus-core/package-lock.json

Lines changed: 357 additions & 368 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/opencensus-core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"@types/semver": "^5.5.0",
4646
"@types/shimmer": "^1.0.1",
4747
"@types/uuid": "^3.4.3",
48-
"gts": "^0.5.4",
48+
"gts": "^0.9.0",
4949
"intercept-stdout": "^0.1.2",
5050
"mocha": "^5.0.4",
5151
"ncp": "^2.0.0",

packages/opencensus-core/src/common/types.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,6 @@ export interface Logger {
2828
}
2929

3030
/** Defines an logger options interface. */
31-
export interface LoggerOptions { level?: string; }
31+
export interface LoggerOptions {
32+
level?: string;
33+
}

packages/opencensus-core/src/resource/types.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,6 @@ export interface Resource {
2929
}
3030

3131
/** Labels are maps of keys -> values */
32-
export interface Labels { [key: string]: string; }
32+
export interface Labels {
33+
[key: string]: string;
34+
}

packages/opencensus-core/src/stats/types.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
import {Metric} from '../metrics/export/types';
1818

1919
/** Tags are maps of names -> values */
20-
export interface Tags { [key: string]: string; }
20+
export interface Tags {
21+
[key: string]: string;
22+
}
2123

2224
/**
2325
* Describes the type of the individual values/measurements recorded by an

packages/opencensus-core/src/trace/model/types.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ import * as samplerTypes from '../sampler/types';
2626
export type Func<T> = (...args: any[]) => T;
2727

2828
/** Maps a label to a string, number or boolean. */
29-
export interface Attributes { [attributeKey: string]: string|number|boolean; }
29+
export interface Attributes {
30+
[attributeKey: string]: string|number|boolean;
31+
}
3032

3133
/** A text annotation with a set of attributes. */
3234
export interface Annotation {

packages/opencensus-core/src/trace/propagation/types.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ export interface HeaderGetter {
2626
/**
2727
* A transport and environment neutral API for setting headers.
2828
*/
29-
export interface HeaderSetter { setHeader(name: string, value: string): void; }
29+
export interface HeaderSetter {
30+
setHeader(name: string, value: string): void;
31+
}
3032

3133
/**
3234
* Propagation interface

0 commit comments

Comments
 (0)