Skip to content
Discussion options

You must be logged in to vote

Thanks @kittaakos , your suggestion was right, registering only the string instead that the symbol allow me to solve the problem between add a dependence between the two extension. I'll leave the code here for anyone that has the same problem:

provider

import { injectable } from 'inversify';

export interface IResourceInfo {
    name: string,
}

export interface IResourceListener {
    onResourcePress(resource: IResourceInfo): void;
}

export interface IResourceListenerManager {
    addResourceListener(resourceListener: IResourceListener): void;
}

@injectable()
export default class ResourceListenerManager implements IResourceListenerManager {

    static readonly registeredListeners : IR…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@dejawho
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by dejawho
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants