Merge with upstream

This commit is contained in:
Florian Scholdei
2020-02-25 16:22:54 +01:00
78 changed files with 3192 additions and 1518 deletions

View File

@@ -11,11 +11,13 @@ type ExtensionRegistration = {
* The Binder class is mainly exported for testing, plugins should only use the default export.
*/
export class Binder {
name: string;
extensionPoints: {
[key: string]: Array<ExtensionRegistration>;
};
constructor() {
constructor(name: string) {
this.name = name;
this.extensionPoints = {};
}
@@ -95,6 +97,6 @@ export class Binder {
}
// singleton binder
const binder = new Binder();
const binder = new Binder("default");
export default binder;