Skip to content

Commit

Permalink
Add F# option to pipeline proposal (#2049)
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagoarrais authored and nicolo-ribaudo committed Jul 4, 2019
1 parent 9b782d1 commit 06cfbfa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions js/repl/ReplOptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,12 @@ class ExpandedContainer extends Component<Props, State> {
>
Smart
</option>
<option
value="fsharp"
selected={presetsOptions.pipelineProposal === "fsharp"}
>
F#
</option>
</select>
</PresetOption>
</AccordionTab>
Expand Down
4 changes: 2 additions & 2 deletions js/repl/types.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export type BabelPlugin = {
export type PresetsOptions = {
decoratorsLegacy: boolean,
decoratorsBeforeExport: boolean,
pipelineProposal: "smart" | "minimal",
pipelineProposal: "smart" | "minimal" | "fsharp",
};

export type EnvConfig = {
Expand Down Expand Up @@ -129,7 +129,7 @@ export type ReplState = {
version: any,
decoratorsLegacy: boolean,
decoratorsBeforeExport: boolean,
pipelineProposal: "minimal" | "smart",
pipelineProposal: "minimal" | "smart" | "fsharp",
externalPlugins: ?string,
};

Expand Down

0 comments on commit 06cfbfa

Please sign in to comment.