@babel/plugin-syntax-pipeline-operator
Version:
Allow parsing of the pipeline operator
12 lines (9 loc) • 500 B
TypeScript
import * as _babel_core from '@babel/core';
declare const PIPELINE_PROPOSALS: readonly ["fsharp", "hack"];
declare const TOPIC_TOKENS: readonly ["^^", "@@", "^", "%", "#"];
interface Options {
proposal: (typeof PIPELINE_PROPOSALS)[number];
topicToken?: (typeof TOPIC_TOKENS)[number];
}
declare const _default: (api: _babel_core.PluginAPI, options: Options, dirname: string) => _babel_core.PluginObject<object & _babel_core.PluginPass<object>>;
export { type Options, _default as default };