Skip to content

Commit fe733b0

Browse files
committed
Actually just export type is okay now
1 parent d60f12c commit fe733b0

File tree

1 file changed

+1
-4
lines changed
  • x-pack/platform/plugins/shared/data_sources_registry/server

1 file changed

+1
-4
lines changed

x-pack/platform/plugins/shared/data_sources_registry/server/index.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,4 @@ export async function plugin(initializerContext: PluginInitializerContext) {
1616
}
1717

1818
export type { DataSourcesRegistryPluginSetup, DataSourcesRegistryPluginStart } from './types';
19-
export type { DataCatalog } from './data_catalog';
20-
// Export interface (not just type) so that it can be implemented by consumers.
21-
// @ts-expect-error: Re-exporting type with isolatedModules
22-
export { DataTypeDefinition } from './data_catalog';
19+
export type { DataCatalog, DataTypeDefinition } from './data_catalog';

0 commit comments

Comments
 (0)