Skip to content

Commit c8ee38b

Browse files
Copilothotlong
andcommitted
Changes before error encountered
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent 8fea154 commit c8ee38b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/plugins/server/src/auth/auth.middleware.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Injectable, NestMiddleware } from '@nestjs/common';
22
import { Request, Response, NextFunction } from 'express';
33
import { getAuth } from './auth.client.js';
4-
import './express.d.js';
4+
import './express.d.ts';
55

66
@Injectable()
77
export class AuthMiddleware implements NestMiddleware {

packages/runtime/src/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ export interface PluginContext {
4444
/**
4545
* Get the kernel instance (for advanced use cases)
4646
* @returns Kernel instance
47+
* @note Returns 'any' to avoid circular dependency with ObjectKernel
4748
*/
4849
getKernel(): any;
4950
}

0 commit comments

Comments
 (0)