Skip to content

Conversation

@przemyslawzalewski
Copy link
Member

@przemyslawzalewski przemyslawzalewski commented Jan 3, 2020

TypeScript by default allows implicit anys and other non-typesafe features. However, the switch to the strict mode took some works and impacted in a few interfaces and implementation changes.
Compilation with strict mode turned on causes the typing be generated in the expanded form when optionals are used and a simpler form could be used (https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-0.html#optional-parameters-and-properties). In order to eliminate them, another compilation with the sloppy mode is run to generate type definition files.

@przemyslawzalewski przemyslawzalewski changed the base branch from improve_test_coverage to master January 7, 2020 08:57
@przemyslawzalewski przemyslawzalewski merged commit 81a082f into master Jan 7, 2020
@przemyslawzalewski przemyslawzalewski deleted the increase_type_script_strictness branch January 7, 2020 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants