Aaronius / penpal

A promise-based library for securely communicating with iframes via postMessage.
MIT License
389 stars 56 forks source link

Changed type of iframe to HTMLIFrameElement. #19

Closed tarleb closed 6 years ago

tarleb commented 6 years ago

Using a more specific type for IChildConnectionObject.iframe makes working in TypeScript more pleasant; the compiler will no longer complain about using properties specific to iframe elements (like src or name) on that object.

Aaronius commented 6 years ago

Thanks! Released in 3.0.3.

tarleb commented 6 years ago

:tada: :raised_hands: thank you!