Skip to content

Commit 22a0b93

Browse files
committed
Properly merge the AuthInfo interface
1 parent a5c0664 commit 22a0b93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export { checkResourceAllowed } from '@modelcontextprotocol/sdk/shared/auth-util
1111

1212
// Add the userId field to AuthInfo and return it in verifyAccessToken
1313
// and so we can access it after requireBearerAuth
14-
declare module '@modelcontextprotocol/sdk/server/auth/types' {
14+
declare module '@modelcontextprotocol/sdk/server/auth/types.js' {
1515
interface AuthInfo {
1616
userId: string;
1717
}

0 commit comments

Comments
 (0)