Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use the primitive "number" type instead of the object counterpart "Nu…
…mber" to avoid a jscompiler error. An upcoming change to J2CL that simplifies how casting logic is transpiled will make the code "(Number) (Object) 3" here transpile to just "/** @type {Number} */ (3)" and jscompiler will see the "invalid cast" since "3" is not "Number" in the closure type system. RELNOTES=n/a ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=225046969
- Loading branch information