[c3typ] Use `spec` when declaring argument for a method

#1

When creating a method in the type file, it is better to pass spec arguments, which are types that contain options with defaults, rather than functions with many parameters.