Skip to content

Commit db12f99

Browse files
committed
fix: jsdocs in cfworker
1 parent 4952f27 commit db12f99

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/validation/cfworker-provider.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import type { JsonSchemaType, JsonSchemaValidator, JsonSchemaValidatorResult, js
1212

1313
/**
1414
* JSON Schema draft version supported by @cfworker/json-schema
15-
* Note: Draft 6 is not supported by @cfworker/json-schema
1615
*/
1716
export type CfWorkerSchemaDraft = '4' | '7' | '2019-09' | '2020-12';
1817

@@ -35,7 +34,7 @@ export class CfWorkerJsonSchemaValidator implements jsonSchemaValidator {
3534
private draft: CfWorkerSchemaDraft;
3635

3736
/**
38-
* Create a Cloudflare Worker validator
37+
* Create a validator
3938
*
4039
* @param options - Configuration options
4140
* @param options.shortcircuit - If true, stop validation after first error (default: true)
@@ -49,8 +48,7 @@ export class CfWorkerJsonSchemaValidator implements jsonSchemaValidator {
4948
/**
5049
* Create a validator for the given JSON Schema
5150
*
52-
* Unlike AJV, this validator is not cached internally since the Validator
53-
* class itself is lightweight and doesn't use code generation.
51+
* Unlike AJV, this validator is not cached internally
5452
*
5553
* @param schema - Standard JSON Schema object
5654
* @returns A validator function that validates input data

0 commit comments

Comments
 (0)