Skip to content

Commit

Permalink
use Alejandros suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
mshustov committed Nov 24, 2020
1 parent 030343d commit 0e848a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/plugins/usage_collection/server/collector/collector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export class Collector<
public readonly extendFetchContext: CollectorOptionsFetchExtendedContext<any>;
public readonly type: CollectorOptions<TFetchReturn, UFormatBulkUploadPayload, any>['type'];
public readonly init?: CollectorOptions<TFetchReturn, UFormatBulkUploadPayload, any>['init'];
public readonly fetch: CollectorFetchMethod<boolean | undefined, TFetchReturn, ExtraOptions>;
public readonly fetch: CollectorFetchMethod<any, TFetchReturn, ExtraOptions>;
public readonly isReady: CollectorOptions<TFetchReturn, UFormatBulkUploadPayload, any>['isReady'];
private readonly _formatForBulkUpload?: CollectorFormatForBulkUpload<
TFetchReturn,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import {
import { Collector, CollectorOptions } from './collector';
import { UsageCollector, UsageCollectorOptions } from './usage_collector';

type AnyCollector = Collector<any, any>;
type AnyCollector = Collector<any, any, any>;
type AnyUsageCollector = UsageCollector<any, any>;

interface CollectorSetConfig {
Expand Down

0 comments on commit 0e848a5

Please sign in to comment.