UNPKG

@favware/syntax-highlighter-core

Version:

A lightweight, easy-to-use and framework agnostic syntax highlighter for your code snippets.

14 lines (12 loc) 693 B
export * from '../dist/types/components'; export interface CustomElementsDefineOptions { exclude?: string[]; resourcesUrl?: string; syncQueue?: boolean; jmp?: (c: Function) => any; raf?: (c: FrameRequestCallback) => number; ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void; rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void; } export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): Promise<void>; export declare function applyPolyfills(): Promise<void>;