What happened?
Cache#get typescript type doesn't allow for a promise return type. The underlying code awaits the method fine though
Versions
Octokit auth app: 6.0.1
Typescript: 5.3.3
NodeJS: 18.16.1
Relevant log output
Type 'Promise<string | null>' is not assignable to type 'string'.
16 get(key: string) {
~~~
Code of Conduct
What happened?
Cache#get typescript type doesn't allow for a promise return type. The underlying code awaits the method fine though
Versions
Octokit auth app: 6.0.1
Typescript: 5.3.3
NodeJS: 18.16.1
Relevant log output
Code of Conduct