Skip to content
This repository was archived by the owner on Aug 15, 2019. It is now read-only.

Remove non-nullable "!" operator #60

Merged
merged 2 commits into from
Aug 21, 2017
Merged

Remove non-nullable "!" operator #60

merged 2 commits into from
Aug 21, 2017

Conversation

dsmilkov
Copy link
Contributor

@dsmilkov dsmilkov commented Aug 21, 2017

The non-nullable operator is not needed anymore, since we are not using strictMode for the typescript compiler. This PR removes all occurrences of ! as this confuses users (see #59), and makes porting code to plain JavaScript more difficult.


This change is Reviewable

@dsmilkov dsmilkov requested a review from nsthorat August 21, 2017 16:36
@nsthorat
Copy link
Contributor

Reviewed 20 of 21 files at r1.
Review status: 20 of 21 files reviewed at latest revision, all discussions resolved.


Comments from Reviewable

@nsthorat
Copy link
Contributor

:lgtm_strong:


Reviewed 1 of 21 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.


Comments from Reviewable

@dsmilkov dsmilkov merged commit 27ca171 into master Aug 21, 2017
@dsmilkov dsmilkov deleted the nullable branch August 21, 2017 17:36
mnottheone pushed a commit to mnottheone/deeplearnjs that referenced this pull request Dec 1, 2018
* Remove non-nullable "!" operator

* fix lint errors
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants