developit / developit/proptypes

proptypes changes impacted inferno-compat

Open
#8 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
60
Forks
11
PR merge metrics
No merged PRs in 30d

Description

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] }
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.