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

@ -13,9 +13,11 @@ export {
BABEL_CONFIG_FILE_NAME,
GENERATED_FILES_DIR_NAME,
SRC_DIR_NAME,
STATIC_DIR_NAME,
DEFAULT_STATIC_DIR_NAME,
OUTPUT_STATIC_ASSETS_DIR_NAME,
THEME_PATH,
I18N_DIR_NAME,
CODE_TRANSLATIONS_FILE_NAME,
DEFAULT_PORT,
DEFAULT_PLUGIN_ID,
WEBPACK_URL_LOADER_LIMIT,
@ -34,7 +36,6 @@ export {
export {
removeSuffix,
removePrefix,
getElementsAround,
mapAsyncSequential,
findAsyncSequential,
reportMessage,
@ -56,8 +57,6 @@ export {
export {
type Tag,
type FrontMatterTag,
type TaggedItemGroup,
normalizeFrontMatterTag,
normalizeFrontMatterTags,
groupTaggedItems,
} from './tags';
@ -73,8 +72,6 @@ export {
export {
type ContentPaths,
type BrokenMarkdownLink,
type ReplaceMarkdownLinksParams,
type ReplaceMarkdownLinksReturn,
replaceMarkdownLinks,
} from './markdownLinks';
export {type SluggerOptions, type Slugger, createSlugger} from './slugger';