refactor: remove a lot of implicit anys (#7468)

This commit is contained in:
Joshua Chen 2022-05-23 15:40:53 +08:00 committed by GitHub
parent 0c8e57de67
commit 3666a2ede5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 148 additions and 163 deletions

View file

@ -5,6 +5,14 @@
* LICENSE file in the root directory of this source tree.
*/
declare module '@mapbox/hast-util-to-jsx';
declare module '@mapbox/hast-util-to-jsx' {
import type {Node} from 'unist';
declare module 'hast-util-to-string';
export default function toJsx(node: Node): string;
}
declare module 'hast-util-to-string' {
import type {Node} from 'unist';
export default function toString(node: Node): string;
}