Skip to content

Commit

Permalink
Removing superfluous types
Browse files Browse the repository at this point in the history
  • Loading branch information
simianhacker committed Oct 13, 2021
1 parent 6370ae0 commit 9d39c65
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,8 @@ import { ElasticsearchIndexStats, ElasticsearchResponseHit } from '../../../comm
import { ESGlobPatterns, RegExPatterns } from '../../../common/es_glob_patterns';
import { Globals } from '../../static_globals';

interface SourceNode {
name: string;
uuid: string;
}
type TopHitType = ElasticsearchResponseHit & {
_source: { index_stats?: Partial<ElasticsearchIndexStats>; source_node?: SourceNode };
_source: { index_stats?: Partial<ElasticsearchIndexStats> };
};

const memoizedIndexPatterns = (globPatterns: string) => {
Expand Down

0 comments on commit 9d39c65

Please sign in to comment.