We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I was just using ts-morph on a project with some string literals in the property names:
interface Test { "test.test": 5, }
...and calling .getName() returns the string "test.test" instead of test.test. Should it be doing this? Doesn't seem right.
.getName()
"test.test"
test.test
Edit: Perhaps this was done because node.setName(node.getName()) should be a no-op?
node.setName(node.getName())
The text was updated successfully, but these errors were encountered:
Yes. This is done because node.setName(node.getName()) should be a no-op and because of things like name in structures taking a string literal.
name
Sorry, something went wrong.
No branches or pull requests
I was just using ts-morph on a project with some string literals in the property names:
...and calling
.getName()
returns the string"test.test"
instead oftest.test
. Should it be doing this? Doesn't seem right.Edit: Perhaps this was done because
node.setName(node.getName())
should be a no-op?The text was updated successfully, but these errors were encountered: