Can TypeScript do runtime enforcement at the boundaries between typed and untyped code, though?
"Safe TypeScript: Safe and Efficient Gradual Typing for TypeScript"
http://research.microsoft.com/apps/video/default.aspx?id=226...
Edit: It might have been this one: http://research.microsoft.com/apps/pubs/?id=224900