component/type: Type assertions aka less-broken `typeof`

Type assertions aka less-broken typeof
https://github.com/component/type