Skip to content

Commit

Permalink
Fix TS errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeelmers committed Sep 16, 2020
1 parent 8d59762 commit 7ccbac3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export class TestScript extends Component<TestScriptProps, TestScriptState> {
}

previewScript = async (searchContext?: { query?: Query | undefined }) => {
const { indexPattern, lang, name, script, executeScript } = this.props;
const { indexPattern, name, script, executeScript } = this.props;

if (!script || script.length === 0) {
return;
Expand Down
1 change: 0 additions & 1 deletion src/plugins/index_pattern_management/server/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
*/

import { PluginInitializerContext, CoreSetup, Plugin } from 'src/core/server';
import { schema } from '@kbn/config-schema';

import { registerPreviewScriptedFieldRoute, registerResolveIndexRoute } from './routes';

Expand Down

0 comments on commit 7ccbac3

Please sign in to comment.