mirror of
https://github.com/strapi/strapi.git
synced 2025-09-18 04:47:27 +00:00
Tsconfig & admin.d.ts
This commit is contained in:
parent
fcce8e8842
commit
ecb5c6717c
10
packages/core/strapi/admin.d.ts
vendored
Normal file
10
packages/core/strapi/admin.d.ts
vendored
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
declare module '@strapi/admin';
|
||||||
|
|
||||||
|
declare module 'koa-favicon' {
|
||||||
|
import type Koa from 'koa';
|
||||||
|
|
||||||
|
export default function favicon(
|
||||||
|
path: string,
|
||||||
|
options?: { maxAge?: number; mime?: string }
|
||||||
|
): Koa.Middleware;
|
||||||
|
}
|
@ -3,6 +3,6 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"noEmit": true
|
"noEmit": true
|
||||||
},
|
},
|
||||||
"include": ["src"],
|
"include": ["src", "admin.d.ts"],
|
||||||
"exclude": ["node_modules"]
|
"exclude": ["node_modules"]
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
{
|
{
|
||||||
"extends": "tsconfig/base.json",
|
"extends": "tsconfig/base.json",
|
||||||
"include": ["src"],
|
"compilerOptions": {
|
||||||
|
"noEmit": true
|
||||||
|
},
|
||||||
|
"include": ["src", "admin.d.ts"],
|
||||||
"exclude": ["node_modules"]
|
"exclude": ["node_modules"]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user