{"_id":"@types/hoist-non-react-statics","_rev":"4193729","name":"@types/hoist-non-react-statics","description":"TypeScript definitions for hoist-non-react-statics","dist-tags":{"latest":"3.3.7","ts2.8":"3.3.1","ts2.9":"3.3.1","ts3.0":"3.3.1","ts3.1":"3.3.1","ts3.2":"3.3.1","ts3.3":"3.3.1","ts3.4":"3.3.1","ts3.5":"3.3.1","ts3.6":"3.3.1","ts3.7":"3.3.1","ts3.8":"3.3.1","ts3.9":"3.3.1","ts4.0":"3.3.1","ts4.1":"3.3.1","ts4.2":"3.3.1","ts4.3":"3.3.1","ts4.4":"3.3.1","ts4.5":"3.3.5","ts4.6":"3.3.5","ts4.7":"3.3.5","ts4.8":"3.3.5","ts4.9":"3.3.5","ts5.0":"3.3.6","ts5.1":"3.3.7","ts5.2":"3.3.7","ts5.3":"3.3.7","ts5.4":"3.3.7","ts5.5":"3.3.7","ts5.6":"3.3.7","ts5.7":"3.3.7","ts5.8":"3.3.7","ts5.9":"3.3.7","ts6.0":"3.3.7"},"maintainers":[{"name":"types","email":""}],"time":{"modified":"2026-03-02T02:48:45.000Z","created":"2018-07-30T23:19:24.029Z","3.3.7":"2025-07-21T13:15:01.997Z","3.3.6":"2024-12-05T19:32:49.314Z","3.3.5":"2023-11-07T07:28:38.111Z","3.3.4":"2023-10-18T04:47:35.521Z","3.3.3":"2023-10-10T19:27:43.685Z","3.3.2":"2023-09-16T08:16:43.174Z","3.3.1":"2019-04-04T18:42:28.500Z","3.3.0":"2019-03-05T15:25:07.703Z","3.0.1":"2018-08-02T01:36:28.467Z","3.0.0":"2018-07-30T23:19:24.029Z"},"users":{},"repository":{"url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","type":"git","directory":"types/hoist-non-react-statics"},"versions":{"3.3.7":{"name":"@types/hoist-non-react-statics","version":"3.3.7","license":"MIT","_id":"@types/hoist-non-react-statics@3.3.7","maintainers":[{"name":"types","email":""}],"contributors":[{"url":"https://github.com/JounQin","name":"JounQin","githubUsername":"JounQin"},{"url":"https://github.com/jamesreggio","name":"James Reggio","githubUsername":"jamesreggio"}],"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/hoist-non-react-statics","dist":{"shasum":"306e3a3a73828522efa1341159da4846e7573a6c","size":2106,"noattachment":false,"key":"/@types/hoist-non-react-statics/-/@types/hoist-non-react-statics-3.3.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/hoist-non-react-statics/download/@types/hoist-non-react-statics-3.3.7.tgz"},"main":"","types":"index.d.ts","scripts":{},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"repository":{"url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","type":"git","directory":"types/hoist-non-react-statics"},"description":"TypeScript definitions for hoist-non-react-statics","directories":{},"dependencies":{"hoist-non-react-statics":"^3.3.0"},"_hasShrinkwrap":false,"peerDependencies":{"@types/react":"*"},"typeScriptVersion":"5.1","_npmOperationalInternal":{"tmp":"tmp/hoist-non-react-statics_3.3.7_1753103701782_0.0657130612822876","host":"s3://npm-registry-packages-npm-production"},"typesPublisherContentHash":"c25c9bbf5b81b3517ab542a56961e5a23b2007ac8d454cded04e174d03531173","_cnpmcore_publish_time":"2025-07-21T13:15:01.997Z","publish_time":1753103701997,"_source_registry_name":"default","_cnpm_publish_time":1753103701997},"3.3.6":{"name":"@types/hoist-non-react-statics","version":"3.3.6","license":"MIT","_id":"@types/hoist-non-react-statics@3.3.6","maintainers":[{"name":"types","email":""}],"contributors":[{"url":"https://github.com/JounQin","name":"JounQin","githubUsername":"JounQin"},{"url":"https://github.com/jamesreggio","name":"James Reggio","githubUsername":"jamesreggio"}],"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/hoist-non-react-statics","dist":{"shasum":"6bba74383cdab98e8db4e20ce5b4a6b98caed010","size":2109,"noattachment":false,"key":"/@types/hoist-non-react-statics/-/@types/hoist-non-react-statics-3.3.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/hoist-non-react-statics/download/@types/hoist-non-react-statics-3.3.6.tgz"},"main":"","types":"index.d.ts","scripts":{},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"repository":{"url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","type":"git","directory":"types/hoist-non-react-statics"},"description":"TypeScript definitions for hoist-non-react-statics","directories":{},"dependencies":{"@types/react":"*","hoist-non-react-statics":"^3.3.0"},"_hasShrinkwrap":false,"peerDependencies":{},"typeScriptVersion":"5.0","_npmOperationalInternal":{"tmp":"tmp/hoist-non-react-statics_3.3.6_1733427169147_0.04724035446293939","host":"s3://npm-registry-packages"},"typesPublisherContentHash":"f828fd090493b00844946121848239611dd37ff529ab0738bdbe126f4576476e","_cnpmcore_publish_time":"2024-12-05T19:32:49.314Z","publish_time":1733427169314,"_source_registry_name":"default","_cnpm_publish_time":1733427169314},"3.3.5":{"name":"@types/hoist-non-react-statics","version":"3.3.5","description":"TypeScript definitions for hoist-non-react-statics","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/hoist-non-react-statics","license":"MIT","contributors":[{"name":"JounQin","githubUsername":"JounQin","url":"https://github.com/JounQin"},{"name":"James Reggio","githubUsername":"jamesreggio","url":"https://github.com/jamesreggio"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/hoist-non-react-statics"},"scripts":{},"dependencies":{"@types/react":"*","hoist-non-react-statics":"^3.3.0"},"typesPublisherContentHash":"e7a2e0e3acecd59daaf840349946feec09d36c71528bdf39ac38ab7d566d804b","typeScriptVersion":"4.5","_id":"@types/hoist-non-react-statics@3.3.5","dist":{"shasum":"dab7867ef789d87e2b4b0003c9d65c49cc44a494","size":2090,"noattachment":false,"key":"/@types/hoist-non-react-statics/-/@types/hoist-non-react-statics-3.3.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/hoist-non-react-statics/download/@types/hoist-non-react-statics-3.3.5.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hoist-non-react-statics_3.3.5_1699342117848_0.7742855745693022"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-11-07T07:28:38.111Z","publish_time":1699342118111,"_source_registry_name":"default","_cnpm_publish_time":1699342118111},"3.3.4":{"name":"@types/hoist-non-react-statics","version":"3.3.4","description":"TypeScript definitions for hoist-non-react-statics","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/hoist-non-react-statics","license":"MIT","contributors":[{"name":"JounQin","githubUsername":"JounQin","url":"https://github.com/JounQin"},{"name":"James Reggio","githubUsername":"jamesreggio","url":"https://github.com/jamesreggio"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/hoist-non-react-statics"},"scripts":{},"dependencies":{"@types/react":"*","hoist-non-react-statics":"^3.3.0"},"typesPublisherContentHash":"d27e3ef7242ef79e262723c3b7b88e96be8f199bd9097f71f4dc04509e323677","typeScriptVersion":"4.5","_id":"@types/hoist-non-react-statics@3.3.4","dist":{"shasum":"cc477ce0283bb9d19ea0cbfa2941fe2c8493a1be","size":2092,"noattachment":false,"key":"/@types/hoist-non-react-statics/-/@types/hoist-non-react-statics-3.3.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/hoist-non-react-statics/download/@types/hoist-non-react-statics-3.3.4.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hoist-non-react-statics_3.3.4_1697604455284_0.5423941693742818"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-18T04:47:35.521Z","publish_time":1697604455521,"_source_registry_name":"default","_cnpm_publish_time":1697604455521},"3.3.3":{"name":"@types/hoist-non-react-statics","version":"3.3.3","description":"TypeScript definitions for hoist-non-react-statics","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/hoist-non-react-statics","license":"MIT","contributors":[{"name":"JounQin","url":"https://github.com/JounQin","githubUsername":"JounQin"},{"name":"James Reggio","url":"https://github.com/jamesreggio","githubUsername":"jamesreggio"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/hoist-non-react-statics"},"scripts":{},"dependencies":{"@types/react":"*","hoist-non-react-statics":"^3.3.0"},"typesPublisherContentHash":"86850cd33faf8cb112ddbee932712009d68fb360b4a693b5a1c41c3cdd91e173","typeScriptVersion":"4.5","_id":"@types/hoist-non-react-statics@3.3.3","dist":{"shasum":"8bb41d9a88164f82dd2745ff05e637e655f34d19","size":2168,"noattachment":false,"key":"/@types/hoist-non-react-statics/-/@types/hoist-non-react-statics-3.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/hoist-non-react-statics/download/@types/hoist-non-react-statics-3.3.3.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hoist-non-react-statics_3.3.3_1696966063531_0.7754783617896968"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-10T19:27:43.685Z","publish_time":1696966063685,"_source_registry_name":"default","_cnpm_publish_time":1696966063685},"3.3.2":{"name":"@types/hoist-non-react-statics","version":"3.3.2","description":"TypeScript definitions for hoist-non-react-statics","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/hoist-non-react-statics","license":"MIT","contributors":[{"name":"JounQin","url":"https://github.com/JounQin","githubUsername":"JounQin"},{"name":"James Reggio","url":"https://github.com/jamesreggio","githubUsername":"jamesreggio"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/hoist-non-react-statics"},"scripts":{},"dependencies":{"@types/react":"*","hoist-non-react-statics":"^3.3.0"},"typesPublisherContentHash":"b11019c7ab872577ae5dee51c0bf2a9865c3de38d9b865aba1ed8a9371c016a6","typeScriptVersion":"4.5","_id":"@types/hoist-non-react-statics@3.3.2","dist":{"shasum":"dc1e9ded53375d37603c479cc12c693b0878aa2a","size":2162,"noattachment":false,"key":"/@types/hoist-non-react-statics/-/@types/hoist-non-react-statics-3.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/hoist-non-react-statics/download/@types/hoist-non-react-statics-3.3.2.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hoist-non-react-statics_3.3.2_1694852202948_0.3611844709237255"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-16T08:16:43.174Z","publish_time":1694852203174,"_source_registry_name":"default","_cnpm_publish_time":1694852203174},"3.3.1":{"name":"@types/hoist-non-react-statics","version":"3.3.1","description":"TypeScript definitions for hoist-non-react-statics","license":"MIT","contributors":[{"name":"JounQin","url":"https://github.com/JounQin","githubUsername":"JounQin"},{"name":"James Reggio","url":"https://github.com/jamesreggio","githubUsername":"jamesreggio"}],"main":"","types":"index","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/hoist-non-react-statics"},"scripts":{},"dependencies":{"@types/react":"*","hoist-non-react-statics":"^3.3.0"},"typesPublisherContentHash":"666e47d028495104f280da8e5a0caa7bfd4d6ecc4f113c4b60bec065e6e4c5f2","typeScriptVersion":"2.8","_id":"@types/hoist-non-react-statics@3.3.1","dist":{"shasum":"1124aafe5118cb591977aeb1ceaaed1070eb039f","size":2015,"noattachment":false,"key":"/@types/hoist-non-react-statics/-/@types/hoist-non-react-statics-3.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/hoist-non-react-statics/download/@types/hoist-non-react-statics-3.3.1.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hoist-non-react-statics_3.3.1_1554403348338_0.566346718427164"},"_hasShrinkwrap":false,"publish_time":1554403348500,"_cnpm_publish_time":1554403348500},"3.3.0":{"name":"@types/hoist-non-react-statics","version":"3.3.0","description":"TypeScript definitions for hoist-non-react-statics","license":"MIT","contributors":[{"name":"JounQin","url":"https://github.com/JounQin","githubUsername":"JounQin"},{"name":"James Reggio","url":"https://github.com/jamesreggio","githubUsername":"jamesreggio"}],"main":"","types":"index","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/hoist-non-react-statics"},"scripts":{},"dependencies":{"@types/react":"*"},"typesPublisherContentHash":"d074910372938383f7172eca39df8a7a15f3b55a7bc42debe7119fb34a5e7925","typeScriptVersion":"2.8","_id":"@types/hoist-non-react-statics@3.3.0","dist":{"shasum":"a59c0c995cc885bef1b8ec2241b114f9b35b517b","size":2005,"noattachment":false,"key":"/@types/hoist-non-react-statics/-/@types/hoist-non-react-statics-3.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/hoist-non-react-statics/download/@types/hoist-non-react-statics-3.3.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hoist-non-react-statics_3.3.0_1551799507575_0.11775293468728498"},"_hasShrinkwrap":false,"publish_time":1551799507703,"_cnpm_publish_time":1551799507703},"3.0.1":{"name":"@types/hoist-non-react-statics","version":"3.0.1","description":"TypeScript definitions for hoist-non-react-statics","license":"MIT","contributors":[{"name":"JounQin","url":"https://github.com/JounQin","githubUsername":"JounQin"}],"main":"","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{"@types/react":"*"},"typesPublisherContentHash":"6178f226c44e51550f9d101aa14838771dc27fe597199c9c1052a91d64656f1f","typeScriptVersion":"2.8","_id":"@types/hoist-non-react-statics@3.0.1","dist":{"shasum":"dde7c53101912dae8f45a1807f9857a59ddf3919","size":1855,"noattachment":false,"key":"/@types/hoist-non-react-statics/-/@types/hoist-non-react-statics-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/hoist-non-react-statics/download/@types/hoist-non-react-statics-3.0.1.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hoist-non-react-statics_3.0.1_1533173788383_0.4767758970664686"},"_hasShrinkwrap":false,"publish_time":1533173788467,"_cnpm_publish_time":1533173788467},"3.0.0":{"name":"@types/hoist-non-react-statics","version":"3.0.0","description":"TypeScript definitions for hoist-non-react-statics","license":"MIT","contributors":[{"name":"JounQin","url":"https://github.com/JounQin","githubUsername":"JounQin"}],"main":"","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{"@types/react":"*"},"typesPublisherContentHash":"9fcc563f123747ac7e7e08c736548ad3b42926bcdbed398b346091e459ec832f","typeScriptVersion":"2.8","_id":"@types/hoist-non-react-statics@3.0.0","dist":{"shasum":"1c6a0869d9769f189f4932d1a64ec7c7a2c8fdbc","size":1699,"noattachment":false,"key":"/@types/hoist-non-react-statics/-/@types/hoist-non-react-statics-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/hoist-non-react-statics/download/@types/hoist-non-react-statics-3.0.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hoist-non-react-statics_3.0.0_1532992763947_0.15533477100439663"},"_hasShrinkwrap":false,"publish_time":1532992764029,"_cnpm_publish_time":1532992764029}},"readme":"# Installation\r\n> `npm install --save @types/hoist-non-react-statics`\r\n\r\n# Summary\r\nThis package contains type definitions for hoist-non-react-statics (https://github.com/mridgway/hoist-non-react-statics#readme).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/hoist-non-react-statics.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/hoist-non-react-statics/index.d.ts)\r\n````ts\r\nimport * as React from \"react\";\n\ninterface REACT_STATICS {\n    childContextTypes: true;\n    contextType: true;\n    contextTypes: true;\n    defaultProps: true;\n    displayName: true;\n    getDefaultProps: true;\n    getDerivedStateFromError: true;\n    getDerivedStateFromProps: true;\n    mixins: true;\n    propTypes: true;\n    type: true;\n}\n\ninterface KNOWN_STATICS {\n    name: true;\n    length: true;\n    prototype: true;\n    caller: true;\n    callee: true;\n    arguments: true;\n    arity: true;\n}\n\ninterface MEMO_STATICS {\n    \"$$typeof\": true;\n    compare: true;\n    defaultProps: true;\n    displayName: true;\n    propTypes: true;\n    type: true;\n}\n\ninterface FORWARD_REF_STATICS {\n    \"$$typeof\": true;\n    render: true;\n    defaultProps: true;\n    displayName: true;\n    propTypes: true;\n}\n\ndeclare namespace hoistNonReactStatics {\n    type NonReactStatics<\n        Source,\n        C extends {\n            [key: string]: true;\n        } = {},\n    > = {\n        [\n            key in Exclude<\n                keyof Source,\n                Source extends React.MemoExoticComponent<any> ? keyof MEMO_STATICS | keyof C\n                    : Source extends React.ForwardRefExoticComponent<any> ? keyof FORWARD_REF_STATICS | keyof C\n                    : keyof REACT_STATICS | keyof KNOWN_STATICS | keyof C\n            >\n        ]: Source[key];\n    };\n}\n\ndeclare function hoistNonReactStatics<\n    Target,\n    Source,\n    CustomStatic extends {\n        [key: string]: true;\n    } = {},\n>(\n    TargetComponent: Target,\n    SourceComponent: Source,\n    customStatic?: CustomStatic,\n): Target & hoistNonReactStatics.NonReactStatics<Source, CustomStatic>;\n\nexport = hoistNonReactStatics;\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Mon, 21 Jul 2025 13:15:00 GMT\r\n * Dependencies: [hoist-non-react-statics](https://npmjs.com/package/hoist-non-react-statics)\r\n * Peer dependencies: [@types/react](https://npmjs.com/package/@types/react)\r\n\r\n# Credits\r\nThese definitions were written by [JounQin](https://github.com/JounQin), and [James Reggio](https://github.com/jamesreggio).\r\n","_attachments":{},"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/hoist-non-react-statics","license":"MIT"}