ts-runtime-checks
ts-runtime-checks copied to clipboard
Fix build error for special characters
#63
- Use ElementAccessExpression when accessing properties.
- When doing destructuring assignment, wrap the key in a StringLiteral.
- Normalizes characters that cannot be used in identifier.
Thank you for the PR! It looks like you've changed the line endings of the file though, could you please use the line endings defined in the .prettierrc.json file? Also, could you please use the dev branch, because that's where changes go before they're published
@rmagur1203 Are you still planning to make the edits required on this PR?
In prettierrc, the end of line is set to crlf, but in reality it seems to be set to lf.
Changed it to lf and modified it to merge into the dev branch.