mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
* Bump api-extractor to fix missing warning bug * Fix api-extractor not failing build on api changes Workaround for upstream bug * Don't fail build for api-extractor warnings Warnings like forgotten exports won't fail the build. Instead these will be added as comments to the api review files. Thus even though the build won't break, these warnings will show up in code review and should be fixed by the author. This is to allow us to merge the workaround for the upstream bugs without breaking master until we've addressed all the warnings.
659 B
659 B
Home > kibana-plugin-server > PluginInitializer
PluginInitializer type
The plugin
export at the root of a plugin's server
directory should conform to this interface.
Signature:
export declare type PluginInitializer<TSetup, TStart, TPluginsSetup extends Record<PluginName, unknown> = {}, TPluginsStart extends Record<PluginName, unknown> = {}> = (core: PluginInitializerContext) => Plugin<TSetup, TStart, TPluginsSetup, TPluginsStart>;