TypeError: AsyncStorage.getItem is not a function

there seems to be an issue with the AsyncStorage library, whenever I try to use one of the objects of AsyncStorage, it throws a type error, when yesterday it never threw any typeErrors, and I am wondering what could be the cause of this? I am using expo with javascript, and react native

Error in CheckToken: TypeError: AsyncStorage.getItem is not a function
    at CheckToken (file:///C:/Users/karam/PrepAndCount/accessToken.js:46:42)
    at file:///C:/Users/karam/PrepAndCount/accessToken.js:90:1
    at ModuleJob.run (node:internal/modules/esm/module_job:271:25)
    at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:547:26)
    at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:116:5)
    ```


  [1]: https://i.sstatic.net/8kdZkfTK.png