DefinitelyTyped/types/airbnb-prop-types
David Evans dfe10fbcbe [prop-types] Do not consider null without undefined as optional (#38015)
* Do not consider null without undefined as optional

* Fix revealed errors in existing tests

- Non-required types can be undefined or null, so typescript types must reflect this

* Ensure undefined-ness is stored alongside nominalTypeHack

* Fix undefined in nominalTypeHack in a better way

* Add tests for nullable and undefinable types

* Fix formatting mistake

* Update downstream tests
2019-09-03 14:58:49 -07:00
..
airbnb-prop-types-tests.ts
index.d.ts
tsconfig.json
tslint.json