mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-12 00:27:21 +02:00
refactor: improve setup of type declaration files (#5914)
This commit is contained in:
parent
334470b5d4
commit
d1308a8736
33 changed files with 872 additions and 868 deletions
|
@ -5,7 +5,9 @@
|
|||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
// Dependencies with missing typedefs
|
||||
declare module 'resolve-pathname' {
|
||||
export default function resolvePathname(to: string, from?: string): string;
|
||||
}
|
||||
|
||||
declare module '@mdx-js/runtime';
|
||||
declare module 'remark-mdx-remove-imports';
|
10
packages/docusaurus-utils/src/types.d.ts
vendored
10
packages/docusaurus-utils/src/types.d.ts
vendored
|
@ -1,10 +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.
|
||||
*/
|
||||
|
||||
declare module 'resolve-pathname' {
|
||||
export default function resolvePathname(to: string, from?: string): string;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue