Skip to content

Commit

Permalink
refactor(typescript): noImplicitAny for Subscription test file (#534)
Browse files Browse the repository at this point in the history
  • Loading branch information
praveenqlogic authored and JustinBeckwith committed Mar 11, 2019
1 parent 955ef5f commit 227d63c
Show file tree
Hide file tree
Showing 3 changed files with 148 additions and 204 deletions.
2 changes: 1 addition & 1 deletion src/subscription.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ export class Subscription extends EventEmitter {
pubsub: PubSub;
iam: IAM;
name: string;
topic?: Topic;
topic?: Topic|string;
metadata?: google.pubsub.v1.ISubscription;
request: typeof PubSub.prototype.request;
private _subscriber: Subscriber;
Expand Down
2 changes: 1 addition & 1 deletion test/histogram.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ describe('Histogram', () => {
});

describe('percentile', () => {
function range(a, b) {
function range(a: number, b: number) {
const result: number[] = [];

for (; a < b; a++) {
Expand Down
Loading

0 comments on commit 227d63c

Please sign in to comment.