Skip to content

Commit b83cdcb

Browse files
dreyfus92github-actions[bot]
authored andcommitted
[ci] format
1 parent 83428ac commit b83cdcb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/core/src/utils/validation.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ import type { StandardSchemaV1 } from './standard-schema.js';
44
* A function or [Standard Schema](https://github.com/standard-schema/standard-schema)
55
* that validates user input. If a custom function is given, you should return a
66
* `string` or `Error` to show as a validation error, or `undefined` to accept the result.
7-
*
7+
*
88
* @example Using arktype
99
* ```ts
1010
* import { text } from '@clack/prompts';
1111
* import { type } from 'arktype';
12-
*
12+
*
1313
* const name = await text({
1414
* message: 'Enter your name (letters only)',
1515
* validate: type('string.alpha').describe('Name can only contain letters'),
@@ -19,7 +19,7 @@ import type { StandardSchemaV1 } from './standard-schema.js';
1919
* @example Custom validator
2020
* ```ts
2121
* import { text } from '@clack/prompts';
22-
*
22+
*
2323
* const age = await text({
2424
* message: 'Enter your age:',
2525
* validate(value) {

0 commit comments

Comments
 (0)