File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 11import type { JSONSchemaType , ValidateFunction } from 'ajv' ;
22import type { StatusInfo } from './types.js' ;
33import Ajv from 'ajv' ;
4- import StatusSchema from './StatusSchema.json' ;
4+ import StatusSchema from './StatusSchema.json' assert { type : 'json' } ;
55
66// @ts -ignore Ajv is improperly exported for ESM
77const ajv = new Ajv . default ( ) ;
Original file line number Diff line number Diff line change 11import type { ValidateFunction } from 'ajv' ;
22import type { SignedTokenEncoded } from '../types.js' ;
33import Ajv from 'ajv' ;
4- import SignedTokenEncodedSchema from './SignedTokenEncodedSchema.json' ;
4+ import SignedTokenEncodedSchema from './SignedTokenEncodedSchema.json' assert { type : 'json' } ;
55
66// @ts -ignore: Ajv exports is function improperly for ESM
77const ajv = new Ajv . default ( ) ;
You can’t perform that action at this time.
0 commit comments