File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 1- import type JSONEvaluationRealm from './evaluate/realms/json.ts' ;
2-
31export type JSONPointer = string ;
42export type URIFragmentJSONPointer = string ;
53export type StringifiedJSONPointer = string ;
@@ -108,10 +106,10 @@ export function compile(referenceTokens: readonly UnescapedReferenceToken[]): JS
108106export function evaluate < T = unknown > ( value : unknown , jsonPointer : JSONPointer , options ?: EvaluationOptions ) : T ;
109107export function composeRealms ( ...realms : EvaluationRealm [ ] ) : EvaluationRealm ;
110108
111- export interface EvaluationOptions < R extends EvaluationRealm = JSONEvaluationRealm > {
109+ export interface EvaluationOptions {
112110 strictArrays ?: boolean ;
113111 strictObjects ?: boolean ;
114- realm ?: R ;
112+ realm ?: EvaluationRealm ;
115113 trace ?: boolean | Partial < EvaluationTrace > ;
116114}
117115
You can’t perform that action at this time.
0 commit comments