refactor: improve setup of type declaration files (#5914)

This commit is contained in:
Joshua Chen 2021-11-13 00:47:27 +08:00 committed by GitHub
parent 334470b5d4
commit d1308a8736
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 872 additions and 868 deletions

14
packages/docusaurus-utils/src/deps.d.ts vendored Normal file
View file

@ -0,0 +1,14 @@
/**
* 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;
}
declare module '@mdx-js/runtime';
declare module 'remark-mdx-remove-imports';
declare module 'remark-mdx-remove-exports';