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
11 lines
417 B
Plaintext
11 lines
417 B
Plaintext
import { ParserOptions as $RefOptions } from '@apidevtools/json-schema-ref-parser';
|
|
import { JSONSchema } from './types/JSONSchema';
|
|
export type DereferencedPaths = WeakMap<JSONSchema, string>;
|
|
export declare function dereference(schema: JSONSchema, { cwd, $refOptions }: {
|
|
cwd: string;
|
|
$refOptions: $RefOptions;
|
|
}): Promise<{
|
|
dereferencedPaths: DereferencedPaths;
|
|
dereferencedSchema: JSONSchema;
|
|
}>;
|