File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
44The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
55and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
66
7+ ## Unreleased
8+ - Ts2ocaml now fails when it encounters unknown options, instead of just ignoring it.
9+
710## [ 1.4.2] - 2022-03-16
811- Fix a bug which caused ts2ocaml to generate invalid type declarations.
912- Fix a bug which causes ts2ocaml to crash when loading mutually-referencing source files.
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ let main argv =
2626 .Invoke( argv)
2727 .wrap( yargs.terminalWidth() |> Some)
2828 .parserConfiguration({| `` parse-positional-numbers `` = false |})
29+ .strict()
2930 .config()
3031 |> GlobalOptions.register
3132 |> Target.register parse Targets.JsOfOCaml.Target.target
You can’t perform that action at this time.
0 commit comments