diff --git a/index.d.ts b/index.d.ts index 1dbf24df55..f4892c2a56 100644 --- a/index.d.ts +++ b/index.d.ts @@ -516,7 +516,7 @@ declare module 'egg' { }; xframe: { enable: boolean; - value: 'SAMEORIGIN' | 'DENY' | 'ALLOW-FROM'; + value: 'SAMEORIGIN' | 'DENY' | `ALLOW-FROM ${string}`; }; hsts: any; methodnoallow: { enable: boolean };