mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-12 11:51:10 +08:00
added unregister method to pluginservice (#22958)
* added unregister to pluginservice added unregister method to plugin service, the unregister method was absent * Update index.d.ts
This commit is contained in:
3
types/chart.js/index.d.ts
vendored
3
types/chart.js/index.d.ts
vendored
@@ -39,7 +39,8 @@ declare class Chart {
|
||||
};
|
||||
}
|
||||
declare class PluginServiceStatic {
|
||||
register(plugin?: PluginServiceRegistrationOptions): void;
|
||||
register(plugin: PluginServiceRegistrationOptions): void;
|
||||
unregister(plugin: PluginServiceRegistrationOptions): void;
|
||||
}
|
||||
|
||||
interface PluginServiceRegistrationOptions {
|
||||
|
||||
Reference in New Issue
Block a user