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

Fix typo for isJsxFragment. #17

Merged
merged 2 commits into from
Dec 14, 2017
Merged

Conversation

dmiller9911
Copy link
Contributor

isJsxFramgment -> isJsxFragment

isJsxFramgment -> isJsxFragment
@dmiller9911
Copy link
Contributor Author

Any idea on the ci failure? Looks to be an issue with publishing to coveralls.

@@ -357,7 +357,7 @@ export function isJsxExpression(node: ts.Node): node is ts.JsxExpression {
return node.kind === ts.SyntaxKind.JsxExpression;
}

export function isJsxFramgment(node: ts.Node): node is ts.JsxFragment {
export function isJsxFragment(node: ts.Node): node is ts.JsxFragment {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather keep the misnamed function around to avoid a breaking change. It can just defer to the new function and is marked as @deprecated in jsdoc.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is a really good idea. I will make that change.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 64.351% when pulling db4cba9 on dmiller9911:Fragment-Typo into 42ad4ed on ajafff:master.

@ajafff ajafff merged commit 560f3ef into ajafff:master Dec 14, 2017
@ajafff
Copy link
Owner

ajafff commented Dec 14, 2017

Thanks @dmiller9911

@ajafff
Copy link
Owner

ajafff commented Dec 14, 2017

This change is released in v2.13.1

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.

3 participants