Skip to content

Commit 601a694

Browse files
committed
f
1 parent 58a09be commit 601a694

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/app/extend/context.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -270,12 +270,12 @@ export default class SecurityContext extends Context {
270270

271271
declare module '@eggjs/core' {
272272
interface Context {
273-
// @ts-ignore
273+
// @ts-expect-error duplicate identifier
274274
get securityOptions(): Partial<SecurityConfig & SecurityHelperConfig>;
275275
isSafeDomain(domain: string, customWhiteList?: string[]): boolean;
276-
// @ts-ignore
276+
// @ts-expect-error duplicate identifier
277277
get nonce(): string;
278-
// @ts-ignore
278+
// @ts-expect-error duplicate identifier
279279
get csrf(): string;
280280
ensureCsrfSecret(rotate?: boolean): void;
281281
rotateCsrfSecret(): void;

0 commit comments

Comments
 (0)