Skip to main content
2 of 2
edited tags
Kevin Montrose
  • 18.7k
  • 6
  • 35
  • 62

integer and decimal are used to describe fields in return types but not in method parameters

Integer and Decimal designations are useful in creating an accurate model of API methods and types.

These specific 'number' subtypes are used when describing types but the method parameter lists all use the more generic 'number' type.

It would be helpful if the method parameters which are numeric were more specifically typed.

Sky Sanders
  • 12.1k
  • 3
  • 32
  • 60