mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-10 07:37:19 +02:00
refactor: fix a lot of errors in type-aware linting (#7477)
This commit is contained in:
parent
222bf3c091
commit
bf1513a3e3
120 changed files with 407 additions and 364 deletions
|
@ -28,4 +28,4 @@ const JoiFrontMatterString: Joi.Extension = {
|
|||
* @see https://github.com/facebook/docusaurus/issues/4642
|
||||
* @see https://github.com/sideway/joi/issues/1442#issuecomment-823997884
|
||||
*/
|
||||
export const JoiFrontMatter: typeof Joi = Joi.extend(JoiFrontMatterString);
|
||||
export const JoiFrontMatter = Joi.extend(JoiFrontMatterString) as typeof Joi;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue