Add typings for recordAndTuple parser plugin (#12326)

This commit is contained in:
Huáng Jùnliàng 2020-11-09 17:57:41 -05:00 committed by GitHub
parent 089c200c8b
commit d7e32d8c3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -142,6 +142,7 @@ export type ParserPlugin =
export type ParserPluginWithOptions = export type ParserPluginWithOptions =
| ["decorators", DecoratorsPluginOptions] | ["decorators", DecoratorsPluginOptions]
| ["pipelineOperator", PipelineOperatorPluginOptions] | ["pipelineOperator", PipelineOperatorPluginOptions]
| ["recordAndTuple", RecordAndTuplePluginOptions]
| ["flow", FlowPluginOptions]; | ["flow", FlowPluginOptions];
export interface DecoratorsPluginOptions { export interface DecoratorsPluginOptions {
@ -149,7 +150,11 @@ export interface DecoratorsPluginOptions {
} }
export interface PipelineOperatorPluginOptions { export interface PipelineOperatorPluginOptions {
proposal: "minimal" | "smart"; proposal: "fsharp" | "minimal" | "smart";
}
export interface RecordAndTuplePluginOptions {
syntaxType: "bar" | "hash";
} }
export interface FlowPluginOptions { export interface FlowPluginOptions {