UNPKG

oc-template-react

Version:
12 lines (11 loc) 404 B
type GetJsFromUrlOptions = { model: any; url: string; key: string; componentKey: string; globals: Record<string, any>; timeout?: number; extractor: (key: string, context: Record<string, any>) => string; }; declare const getJsFromUrl: ({ model, url, key, componentKey, globals, timeout, extractor, }: GetJsFromUrlOptions) => () => Promise<string>; export default getJsFromUrl;