Skip to content
This repository has been archived by the owner on Jul 30, 2018. It is now read-only.

Loosen typings for context in Injector interface #630

Closed
agubler opened this issue Aug 5, 2017 · 0 comments
Closed

Loosen typings for context in Injector interface #630

agubler opened this issue Aug 5, 2017 · 0 comments
Milestone

Comments

@agubler
Copy link
Member

agubler commented Aug 5, 2017

Enhancement

The typings for Context of an injector expect it to extends @dojo/core/Evented which although is the standard for Dojo 2 specific injector contexts this restricts interop with external libraries such as Redux as they will not extend Evented.

We should create an extra class/interface as a base for all Injectors that doesn't restrict the context to classes that extends Evented.

@dylans dylans added this to the 2017.08 milestone Aug 9, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants