mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-11 16:17:25 +02:00
chore: upgrade dependencies (#6789)
* chore: upgrade dependencies * upgrade setup-node
This commit is contained in:
parent
9d7ed31661
commit
a4dc03edee
23 changed files with 210 additions and 320 deletions
|
@ -37,7 +37,7 @@ export function normalizePluginOptions<T extends {id?: string}>(
|
|||
throw error;
|
||||
}
|
||||
|
||||
return value!; // TODO remove this ! in TS 4.6, see https://twitter.com/sebastienlorber/status/1481950042277793793
|
||||
return value;
|
||||
}
|
||||
|
||||
export function normalizeThemeConfig<T>(
|
||||
|
@ -58,7 +58,7 @@ export function normalizeThemeConfig<T>(
|
|||
if (error) {
|
||||
throw error;
|
||||
}
|
||||
return value!; // TODO remove this ! in TS 4.6
|
||||
return value;
|
||||
}
|
||||
|
||||
export function validateFrontMatter<T>(
|
||||
|
@ -86,5 +86,5 @@ ${errorDetails.map(({message}) => message)}
|
|||
throw error;
|
||||
}
|
||||
|
||||
return value!; // TODO remove this ! in TS 4.6
|
||||
return value;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue