mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-11 03:27:47 +08:00
[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:
committed by
John Reilly
parent
ec4917b204
commit
ffc8351127
2
types/ngreact/index.d.ts
vendored
2
types/ngreact/index.d.ts
vendored
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user