Creates a shape that allows any value. This should be used sparingly.
Optional
import {unknownShape, checkValidShape} from 'object-shape-tester';const myShape = unknownShape();checkValidShape('a', myShape); // `true`checkValidShape(10, myShape); // `true`checkValidShape({}, myShape); // `true` Copy
import {unknownShape, checkValidShape} from 'object-shape-tester';const myShape = unknownShape();checkValidShape('a', myShape); // `true`checkValidShape(10, myShape); // `true`checkValidShape({}, myShape); // `true`
Creates a shape that allows any value. This should be used sparingly.