Skip to content

Commit

Permalink
declare return type explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
spalger committed Mar 29, 2022
1 parent 982de24 commit 33d4fdc
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,15 @@ import Path from 'path';
import globby from 'globby';
import normalize from 'normalize-path';

import { parseKibanaPlatformPlugin } from './parse_kibana_platform_plugin';
import { parseKibanaPlatformPlugin, KibanaPlatformPlugin } from './parse_kibana_platform_plugin';

/**
* Helper to find the new platform plugins.
*/
export function simpleKibanaPlatformPluginDiscovery(scanDirs: string[], pluginPaths: string[]) {
export function simpleKibanaPlatformPluginDiscovery(
scanDirs: string[],
pluginPaths: string[]
): KibanaPlatformPlugin[] {
const patterns = Array.from(
new Set([
// find kibana.json files up to 5 levels within the scan dir
Expand Down

0 comments on commit 33d4fdc

Please sign in to comment.