Use explicit Ajv ESM entrypoint
This commit is contained in:
parent
564d5bf732
commit
02f13527eb
2 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import Ajv2020, { type ValidateFunction } from "ajv/dist/2020";
|
||||
import Ajv2020, { type ValidateFunction } from "ajv/dist/2020.js";
|
||||
|
||||
import documentRecordSchema from "../contracts/cultnet/cultnet.document-record.schema.json";
|
||||
import helloSchema from "../contracts/cultnet/cultnet.hello.schema.json";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import Ajv2020, { type ErrorObject, type ValidateFunction } from "ajv/dist/2020";
|
||||
import Ajv2020, { type ErrorObject, type ValidateFunction } from "ajv/dist/2020.js";
|
||||
import type { CultCacheSchema } from "@gamecult/cultcache-ts";
|
||||
|
||||
export interface JsonSchemaContract<TValue> extends CultCacheSchema<TValue> {
|
||||
|
|
|
|||
Loading…
Reference in a new issue