[Fix] Fix property enforcement when using `BigInt`.
Merge pull request #2317 from denis-sh/fix-property-enforcement-when-using-`BigInt`

[Fix] Fix property enforcement when using `BigInt`.