website icon indicating copy to clipboard operation
website copied to clipboard

Adding RecordAndTuple syntax throws error on REPL

Open JLHwung opened this issue 5 years ago • 3 comments

Link: https://babeljs.io/repl#?browsers=chrome%2080&build=&builtIns=false&spec=false&loose=false&code_lz=MQbwjANABATAvkA&debug=false&forceAllTransforms=false&shippedProposals=false&circleciRepo=&evaluate=false&fileSize=false&timeTravel=true&sourceType=script&lineWrap=false&presets=env&prettier=false&targets=Node-13&version=7.9.0&externalPlugins=%40babel%2Fplugin-syntax-record-and-tuple%407.9.0

Adding syntax-record-and-tuple plugin will throw

'recordAndTuple' requires 'syntaxType' option whose value should be one of: 'hash', 'bar'

JLHwung avatar Apr 09 '20 00:04 JLHwung

Hey @JLHwung! 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.

babel-bot avatar Apr 09 '20 00:04 babel-bot

How to use tuples and records in REPL?

jcubic avatar May 06 '22 17:05 jcubic

For now you can use https://rickbutton.github.io/record-tuple-playground/

nicolo-ribaudo avatar May 06 '22 17:05 nicolo-ribaudo