Fix type error

There seems to be a type error in directive `vgHeight` definition