UNPKG

webextensions-schema

Version:

Programmatically consume the WebExtensions Schema JSON files

16 lines (15 loc) 511 B
import { WebExtensionsSchemaOptions, Schema, SchemaRaw, SchemaNamespaces } from './types'; export declare class WebExtensionsSchema { private _schemas; private _tag; constructor({ schemas, tag }: { schemas: Schema; tag: string; }); raw(): SchemaRaw; namespaces(): SchemaNamespaces; tag(): string; } declare const webExtensionsSchema: (options?: WebExtensionsSchemaOptions) => Promise<WebExtensionsSchema>; export default webExtensionsSchema; export * from './types';