As TypeScript is not emitting objects from Interfaces, it's not possible to match object against them during context resolution (see 2nd part of issue #4).
Additional investigation has to determine if:
- it's possible to have TypeScript generate some object for Interfaces
- it's possible to detect it and warn users that a future crash will happen quite soon
- a big warning in red should be added to the docs!
As TypeScript is not emitting objects from Interfaces, it's not possible to match object against them during context resolution (see 2nd part of issue #4).
Additional investigation has to determine if: