mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-04 01:09:20 +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
14
packages/docusaurus-theme-common/Details.d.ts
vendored
14
packages/docusaurus-theme-common/Details.d.ts
vendored
|
@ -1,14 +0,0 @@
|
|||
/**
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
// `Details` is a separate export entry because of side-effects messing with CSS
|
||||
// insertion order. See https://github.com/facebook/docusaurus/pull/7085.
|
||||
// However, because TS doesn't recognize `exports` (also a problem in
|
||||
// `content-docs`), we have to manually create a stub.
|
||||
|
||||
// eslint-disable-next-line import/named
|
||||
export {Details, type DetailsProps} from './lib/components/Details';
|
Loading…
Add table
Add a link
Reference in a new issue