Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
13 lines
536 B
Plaintext
13 lines
536 B
Plaintext
import type { ParserOptions } from "./options.js";
|
|
import type { JSONSchema } from "./types";
|
|
import type $RefParser from "./index";
|
|
export default dereference;
|
|
/**
|
|
* Crawls the JSON schema, finds all JSON references, and dereferences them.
|
|
* This method mutates the JSON schema object, replacing JSON references with their resolved value.
|
|
*
|
|
* @param parser
|
|
* @param options
|
|
*/
|
|
declare function dereference<S extends object = JSONSchema, O extends ParserOptions<S> = ParserOptions<S>>(parser: $RefParser<S, O>, options: O): void;
|