{"version":3,"file":"register.cjs","names":["Store","storeMethods","autobind","Cache","cacheMethods","Scope","scopeMethods"],"sources":["../../src/react/register.ts"],"sourcesContent":["import { Cache, Scope, Store } from '@core';\nimport { autobind } from '@lib/autobind';\nimport { cacheMethods } from '@react/cacheMethods';\nimport { scopeMethods } from '@react/scopeMethods';\nimport { storeMethods } from './storeMethods';\n\ntype StoreMethods = typeof storeMethods;\ntype CacheMethods = typeof cacheMethods;\ntype ScopeMethods = typeof scopeMethods;\n\ndeclare module '..' {\n  // eslint-disable-next-line @typescript-eslint/no-unused-vars\n  interface Store<T> extends StoreMethods {}\n\n  // eslint-disable-next-line @typescript-eslint/no-unused-vars\n  interface Cache<T> extends CacheMethods {}\n\n  // eslint-disable-next-line @typescript-eslint/no-unused-vars\n  interface Scope<T> extends ScopeMethods {}\n}\n\nObject.assign(Store.prototype, storeMethods);\nautobind(Store);\n\nObject.assign(Cache.prototype, cacheMethods);\nautobind(Cache);\n\nObject.assign(Scope.prototype, scopeMethods);\nautobind(Scope);\n"],"mappings":";;;;;AAqBA,OAAO,OAAOA,oBAAM,WAAWC,kCAAa;AAC5CC,uBAASF,oBAAM;AAEf,OAAO,OAAOG,oBAAM,WAAWC,kCAAa;AAC5CF,uBAASC,oBAAM;AAEf,OAAO,OAAOE,oBAAM,WAAWC,kCAAa;AAC5CJ,uBAASG,oBAAM"}