mirror of
https://github.com/Snigdha-OS/documentation.git
synced 2025-09-10 19:54:57 +02:00
18 lines
712 B
TypeScript
18 lines
712 B
TypeScript
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
import Joi from './Joi';
|
|
/**
|
|
* Enhance the default `Joi.string()` type so that it can convert number to
|
|
* strings. If user use front matter "tag: 2021", we shouldn't need to ask her
|
|
* to write "tag: '2021'". Also yaml tries to convert patterns like "2019-01-01"
|
|
* to dates automatically.
|
|
*
|
|
* @see https://github.com/facebook/docusaurus/issues/4642
|
|
* @see https://github.com/sideway/joi/issues/1442#issuecomment-823997884
|
|
*/
|
|
export declare const JoiFrontMatter: Joi.Root;
|
|
//# sourceMappingURL=JoiFrontMatter.d.ts.map
|