ThirdPartyPluginAdapter.getApi
ThirdPartyPluginAdapter › getApi
Type: (plugin: Plugin) => null | TApi
Reads the typed API off a running instance of the plugin, VERIFYING its shape.Return
null when the instance does not carry the members the adapter types, which is what a release that renamed or reshaped them looks like. Never cast: a cast asserts a shape nothing checked.