[c3typ] deprecation of method/field/type


#1

When a type/field/method/API is no longer supported, we should deprecate it rather than delete it, and the deprecation annotation must list the replacement and a final version in which the type is supported.

  @deprecated(finalVersion="8", details="Use NewType.newMethod instead")
  oldMethod: member function(): boolean js server