Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: unassertCode function #43

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

RebeccaStevens
Copy link

Based off #42 (merging this will also merge that one's changes (closes #42)).

This function is designed to work on the code rather than the ast (an ast is still required in order to navigate the code).

  • It returns the modified code and optionally a source map for the changes it makes.
  • It will make minimal changes to the code rather than regenerated all of it from scratch using the modified ast.

I also added a large amount of JSDoc to the source code to help with typings.

@RebeccaStevens
Copy link
Author

Ping @okunokentaro @twada

@RebeccaStevens RebeccaStevens changed the title feat: a new unassertCode function feat: unassertCode function Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant