mirror of
https://github.com/strapi/strapi.git
synced 2025-09-17 20:40:17 +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": {
|
||||
"noEmit": true
|
||||
},
|
||||
"include": ["src"],
|
||||
"include": ["src", "admin.d.ts"],
|
||||
"exclude": ["node_modules"]
|
||||
}
|
||||
|
@ -1,5 +1,8 @@
|
||||
{
|
||||
"extends": "tsconfig/base.json",
|
||||
"include": ["src"],
|
||||
"compilerOptions": {
|
||||
"noEmit": true
|
||||
},
|
||||
"include": ["src", "admin.d.ts"],
|
||||
"exclude": ["node_modules"]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user