Open deificx opened 5 years ago
Hey @deificx! We really appreciate you taking the time to report an issue. The collaborators on this project attempt to help as many people as possible, but we're a limited number of volunteers, so it's possible this won't be addressed swiftly.
If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack community that typically always has someone willing to help. You can sign-up here for an invite.
tsUnknownType
was added in https://github.com/babel/website/pull/1842. I believe it is a typo and we should replace tsUnknownType
by tsUnknownKeyword
.
@deificx PR's welcome.
@babel/core-team Could you transfer this issue to babel/website?
I will take a look at fixing that, ended up seeing if there are other mistakes at the same time, so will be a slightly bigger change then.
Bug Report
Current Behavior Looking at the documentation for type there is a tsUnknownType, but calling the function gives a
TypeError: t.tsUnknownType is not a function
Input Code
Expected behavior/code I believe the output should be
unknown
.Babel Configuration (.babelrc, package.json, cli command) N/A, this is more a tooling bug than babel behavior bug
Environment
api
Possible Solution Searching through this repo yields nothing, it might not exist (yet)?