Skip to main content
edited tags
Link
Kevin Montrose
  • 18.7k
  • 6
  • 35
  • 62
Source Link
Sky Sanders
  • 12.1k
  • 3
  • 32
  • 60

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.