Skip to content

Commit

Permalink
Deprecate acc.doc
Browse files Browse the repository at this point in the history
  • Loading branch information
a2br committed Dec 25, 2020
1 parent cca1659 commit f9e9590
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lib/account_types/Account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,13 @@ export class Account {
this.__account = mainAccount;
}

get doc() {
get _raw() {
return this.__account;
}
/**
* @deprecated In favor of `_raw`
*/
get doc() {
return this._raw;
}
}

0 comments on commit f9e9590

Please sign in to comment.