passing type to node alias, not as a dom attribute but as a param