docs: add defineProperties to migration docs

This commit is contained in:
Richard Moore 2023-02-22 04:02:15 -05:00
parent 09805afad5
commit d5f360d12a

@ -311,6 +311,13 @@ _code: solidity non-standard packed @lang<script>
// v6
ethers.solidityPacked(types, values)
_code: property manipulation @lang<script>
// v5
ethers.utils.defineReadOnly(obj, "name", value)
// v6
ethers.defineProperties(obj, { name: value });
_subsection: Removed Classes and functions @<migrate-missing>