mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-03 16:59:06 +02:00
chore: upgrade to TS 4.7, compile with NodeNext (#7586)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
This commit is contained in:
parent
b503523f66
commit
b4d93b9bd0
62 changed files with 225 additions and 195 deletions
|
@ -7,8 +7,14 @@
|
|||
"*.css"
|
||||
],
|
||||
"exports": {
|
||||
"./client": "./lib/client/index.js",
|
||||
".": "./lib/index.js"
|
||||
"./client": {
|
||||
"types": "./lib/client/index.d.ts",
|
||||
"default": "./lib/client/index.js"
|
||||
},
|
||||
".": {
|
||||
"types": "./src/theme-search-algolia.d.ts",
|
||||
"default": "./lib/index.js"
|
||||
}
|
||||
},
|
||||
"types": "src/theme-search-algolia.d.ts",
|
||||
"publishConfig": {
|
||||
|
|
|
@ -8,3 +8,13 @@
|
|||
declare module '@docsearch/react/modal';
|
||||
|
||||
declare module '@docsearch/react/style';
|
||||
|
||||
// TODO incompatible declaration file
|
||||
declare module 'eta' {
|
||||
export const defaultConfig: object;
|
||||
|
||||
export function compile(
|
||||
template: string,
|
||||
options?: object,
|
||||
): (data: object, config: object) => string;
|
||||
}
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
"noEmit": false,
|
||||
"incremental": true,
|
||||
"tsBuildInfoFile": "./lib/.tsbuildinfo",
|
||||
"module": "commonjs",
|
||||
"rootDir": "src",
|
||||
"outDir": "lib"
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue