class type textMetrics = object .. end
object
end
method width : float Js.readonly_prop
float Js.readonly_prop