ajv-validator / ajv-validator/ajv
JTD schemas do not support coerceTypes option
Abierto
limitation
- Lenguaje dominante
- TypeScript
- Estrellas
- 14.8k
- Forks
- 1k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
I'm using TypeScript v4.3.4 and I am unable to use the `coerceTypes` option when constructing the Ajv instance.
```typescript
import Ajv from 'ajv/dist/jtd';
const ajv = new Ajv({ coerceTypes: true });
```
This is a screenshot of the error I get in VSCodium v1.57.1:

Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.