Skip to content

Commit db2a337

Browse files
authored
🤖 Merge PR DefinitelyTyped#73123 [@types/passport-oauth2] add missing null type to verify callback by @gentunian
1 parent 52fad74 commit db2a337

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎types/passport-oauth2/index.d.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ declare namespace OAuth2Strategy {
3232
}
3333

3434
type StateStoreStoreCallback = (err: Error | null, state: any) => void;
35-
type StateStoreVerifyCallback = (err: Error, ok: boolean, state: any) => void;
35+
type StateStoreVerifyCallback = (err: Error | null, ok: boolean, state: any) => void;
3636

3737
interface StateStore {
3838
store(req: Request, callback: StateStoreStoreCallback): void;

‎types/passport-oauth2/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": true,
33
"name": "@types/passport-oauth2",
4-
"version": "1.4.9999",
4+
"version": "1.8.9999",
55
"projects": [
66
"https://github.com/jaredhanson/passport-oauth2#readme"
77
],

0 commit comments

Comments
 (0)