Skip to content

Commit

Permalink
Prefer object type over empty interface
Browse files Browse the repository at this point in the history
  • Loading branch information
rylnd committed Jan 28, 2020
1 parent 5b6af2b commit 9749dc0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/plugins/newsfeed/public/plugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,8 @@ import { FetchResult, NewsfeedPluginInjectedConfig } from '../types';
import { NewsfeedNavButton, NewsfeedApiFetchResult } from './components/newsfeed_header_nav_button';
import { getApi } from './lib/api';

// eslint-disable-next-line @typescript-eslint/no-empty-interface
export interface Setup {}
// eslint-disable-next-line @typescript-eslint/no-empty-interface
export interface Start {}
export type Setup = object;
export type Start = object;

export class NewsfeedPublicPlugin implements Plugin<Setup, Start> {
private readonly kibanaVersion: string;
Expand Down

0 comments on commit 9749dc0

Please sign in to comment.