developit / developit/proptypes

proptypes changes impacted inferno-compat

Aperta
#8 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
60
Fork
11
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

inferno-compat expects `proptypes` to export `proptypes.default`. Can you please export both directly and using default property?

```
> require('proptypes').default
undefined

> require('proptypes')
{ array: { [Function: bound checkType] isRequired: [Function: bound checkType] },
bool: { [Function: bound checkType] isRequired: [Function: bound checkType] },
func: { [Function: bound checkType] isRequired: [Function: bound checkType] },
number: { [Function: bound checkType] isRequired: [Function: bound checkType] },
object: { [Function: bound checkType] isRequired: [Function: bound checkType] },
string: { [Function: bound checkType] isRequired: [Function: bound checkType] },
symbol: { [Function: bound checkType] isRequired: [Function: bound checkType] },
any: { [Function: bound checkType] isRequired: [Function: bound checkType] },
arrayOf: [Function: createArrayOfTypeChecker],
element: { [Function: bound checkType] isRequired: [Function: bound checkType] },
instanceOf: [Function: createInstanceTypeChecker],
node: { [Function: bound checkType] isRequired: [Function: bound checkType] },
objectOf: [Function: createObjectOfTypeChecker],
oneOf: [Function: createEnumTypeChecker],
oneOfType: [Function: createUnionTypeChecker],
shape: [Function: createShapeTypeChecker] }
```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.