You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is a good/proper/recommended way to access modules in a different window object?
For example, take the iframe scenario (assuming same domain) below:
"Casting to a module" seems not possible. Would #420 (modules implementing interface) provide a possible solution?
The text was updated successfully, but these errors were encountered:
reezom
changed the title
Question: Accessing modules living in different document object?
Question: Accessing modules living in different window object?
Jan 30, 2015
Yes, that'll work, but may create problems one day when --noimplicitany is turned on. In fact there's no need for the type assertion, because accessing Container via the bracket notation effectively renders the type to any:
What is a good/proper/recommended way to access modules in a different window object?
For example, take the iframe scenario (assuming same domain) below:
"Casting to a module" seems not possible. Would #420 (modules implementing interface) provide a possible solution?
The text was updated successfully, but these errors were encountered: