[prop-types] use conditional types for better prop type inference (#27378)

* feat(prop-types): use conditional types for better prop type inference

* fix(tests): fix publish tests

* fix(prop-types): add custom prop validator, and switch requireables

* fix(test): revert ReactFragment change

* fix(prop-types): namespace imports from react like a good boy

* CR changes

* actually remove param from validator

* remove anyvalidationmap

* everyday i'm test...ering

* SEMICOLONS WHY

* retain null in undefaultize
This commit is contained in:
Ferdy Budhidharma
2018-07-21 07:41:15 -05:00
committed by John Reilly
parent ec4917b204
commit ffc8351127
15 changed files with 249 additions and 146 deletions

View File

@@ -2,7 +2,7 @@
// Project: https://github.com/ngReact/ngReact
// Definitions by: Vicky Lai <https://github.com/velveret>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.6
// TypeScript Version: 2.8
/// <reference types="angular"/>
/// <reference types="react"/>