Deprecate old add* methods #118
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user