feat(utils): JSDoc for all APIs (#6980)

* feat(utils): JSDoc for all APIs

* fix tests
This commit is contained in:
Joshua Chen 2022-03-24 21:34:31 +08:00 committed by GitHub
parent b8d2a4e84d
commit 2eeb0e46a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
31 changed files with 637 additions and 255 deletions

View file

@ -898,7 +898,8 @@ declare module '@theme/TagsListByLetter' {
}
declare module '@theme/TagsListInline' {
export type Tag = Readonly<{label: string; permalink: string}>;
import type {Tag} from '@docusaurus/utils';
export interface Props {
readonly tags: readonly Tag[];
}