chore: upgrade dependencies (#6789)

* chore: upgrade dependencies

* upgrade setup-node
This commit is contained in:
Joshua Chen 2022-03-01 10:40:34 +08:00 committed by GitHub
parent 9d7ed31661
commit a4dc03edee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 210 additions and 320 deletions

View file

@ -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;
}