transpiler: number (js) should map to num (dart)