Deprecate old add* methods #118

Merged
fsmanuel merged 4 commits from deprecate/old-add-methods into master 2019-05-01 18:12:19 +00:00
Showing only changes of commit e7e8744ad2 - Show all commits

View File

@@ -38,7 +38,7 @@ class Proposal extends Record {
}
addProposal () {
deprecate('The method: `addProposal` is deprecated use `add` instead');
deprecate('The function `addProposal()` is deprecated and will be removed in the next major version. Use `add()` instead');
return this.add(...arguments);
}
}