Skip to content

Commit d5f360d

Browse files
committed
docs: add defineProperties to migration docs
1 parent 09805af commit d5f360d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs.wrm/migrating.wrm

+7
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,13 @@ _code: solidity non-standard packed @lang<script>
311311
// v6
312312
ethers.solidityPacked(types, values)
313313

314+
_code: property manipulation @lang<script>
315+
// v5
316+
ethers.utils.defineReadOnly(obj, "name", value)
317+
318+
// v6
319+
ethers.defineProperties(obj, { name: value });
320+
314321

315322
_subsection: Removed Classes and functions @<migrate-missing>
316323

0 commit comments

Comments
 (0)