Skip to content

fix: return any from resolve() (#182) - #617

Merged
BelfordZ merged 1 commit into
masterfrom
fix/182-return-any
Oct 17, 2026
Merged

BelfordZ merged 1 commit into
masterfrom
fix/182-return-any

Conversation

@belfordzjeeves

Copy link
Copy Markdown
Contributor

Per #182: ReferenceResolver.resolve() now returns Promise<any> instead of Promise<JSONSchema>.

A `` can point at any JSON value (the existing #/properties/foo -> `"boo"` test resolves a plain string), so the narrower type was a lie that forced callers to cast. `no-explicit-any` is already off for `src/*.ts` in this repo.

Verified: tsc --noEmit, eslint, and the full jest suite (19/19) pass. No runtime behavior change.

@BelfordZ
BelfordZ merged commit 18a4abd into master Oct 17, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants