mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Change signature of Plugin.stop
to maybe async (#170225)
## Summary Fix https://github.com/elastic/kibana/issues/83612 This PR doesn't change any behavior, as we're already supporting (and awaiting) promises returned from `stop` calls to plugin, it just changes the type's signature to reflect that. Also removed empty `stop` methods from existing plugins to make typescript happy. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
9def79267c
commit
d64e246cb7
9 changed files with 7 additions and 25 deletions
|
@ -22,8 +22,4 @@ export class RuntimeFieldsPlugin
|
|||
public start(core: CoreStart, plugins: StartPlugins) {
|
||||
return {};
|
||||
}
|
||||
|
||||
public stop() {
|
||||
return {};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue