avoid exporting BackendFeatureFactory

Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
This commit is contained in:
Vincenzo Scamporlino
2023-08-08 13:47:36 +02:00
parent 9261f22f1c
commit a58fc22210
6 changed files with 5 additions and 28 deletions
+2 -2
View File
@@ -15,7 +15,7 @@
*/
import { createServiceRef } from './services';
import { BackendFeature, BackendFeatureFactory } from './wiring';
import { BackendFeature } from './wiring';
/** @alpha */
export interface FeatureDiscoveryService {
@@ -33,4 +33,4 @@ export const featureDiscoveryServiceRef =
});
export type { ServiceRef } from './services';
export type { BackendFeature, BackendFeatureFactory };
export type { BackendFeature };
@@ -28,6 +28,5 @@ export type {
BackendModuleRegistrationPoints,
BackendPluginRegistrationPoints,
BackendFeature,
BackendFeatureFactory,
ExtensionPoint,
} from './types';
@@ -67,7 +67,7 @@ export interface BackendModuleRegistrationPoints {
}): void;
}
/** @public */
/** @internal */
export interface BackendFeatureFactory<
TOptions extends [options?: object] = [],
> {