diff --git a/src/index.ts b/src/index.ts index 9a582df..556934e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -21,8 +21,8 @@ export const history = PropTypes.shape({ createHref: PropTypes.func.isRequired, entries: PropTypes.arrayOf(location), // only in createMemoryHistory go: PropTypes.func.isRequired, - goBack: PropTypes.func.isRequired, - goForward: PropTypes.func.isRequired, + back: PropTypes.func.isRequired, + forward: PropTypes.func.isRequired, index: PropTypes.number, // only in createMemoryHistory length: PropTypes.number, listen: PropTypes.func.isRequired,