Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
21 lines
587 B
Plaintext
21 lines
587 B
Plaintext
type JsOptions = {
|
|
type: 'js';
|
|
js?: Partial<HTMLScriptElement>;
|
|
keepWhenUnused?: boolean;
|
|
};
|
|
type CssOptions = {
|
|
type: 'css';
|
|
css?: Partial<HTMLStyleElement>;
|
|
keepWhenUnused?: boolean;
|
|
};
|
|
type DefaultOptions = {
|
|
type?: never;
|
|
js?: Partial<HTMLScriptElement>;
|
|
css?: Partial<HTMLStyleElement>;
|
|
keepWhenUnused?: boolean;
|
|
};
|
|
export type Options = JsOptions | CssOptions | DefaultOptions;
|
|
export type Status = 'unset' | 'loading' | 'ready' | 'error';
|
|
declare const useExternal: (path?: string, options?: Options) => Status;
|
|
export default useExternal;
|