In portal.js we agreed to move to typescript and I think we probably want this here.
In portal.js we agreed to move to typescript and I think we probably want this here.