docs(api/methods.jmd): fix syntax error

[skip ci[ #1187