* Mocks for CoreStart, CoreSetup and PluginInitializerContext
* Public CoreStart, CoreSetup mocks
* Update api signature/docs
* Convert embaddable_api tests to new core mocks
* CR Feedback
* Introduce ui_new_platform.test.mocks and refactor embedabble tests
* Hack to get TS warnings for Core mocks
* Core mocks types cleanup & hack to get TS warnings for Server Core mocks
* Use __mocks__ new_platform
* Remove accidently commited auto-mock
* Introduce MockedKeys type for Core mocks
* Better typing/docs for UiSettings
* Revert "Use __mocks__ new_platform"
This reverts commit 2d666facc8
.
* Add missing mock to test
* Cleanup UiSettings types
686 B
686 B
Home > kibana-plugin-public > ToastsApi > (constructor)
ToastsApi.(constructor)
Constructs a new instance of the ToastsApi
class
Signature:
constructor(deps: {
uiSettings: UiSettingsClientContract;
});
Parameters
Parameter | Type | Description |
---|---|---|
deps | { uiSettings: UiSettingsClientContract; } |