Properties
after
after: ((targetFuncName: string, afterFn: (() => void)) => void)
Type declaration
-
- (targetFuncName: string, afterFn: (() => void)): void
-
Parameters
-
targetFuncName: string
-
afterFn: (() => void)
Returns void
applyHooks
applyHooks: ((this: unknown, root?: unknown) => void)
Type declaration
-
- (this: unknown, root?: unknown): void
-
Parameters
-
this: unknown
-
Optional
root: unknown
Returns void
applyInjects
applyInjects: (() => void)
before
before: ((targetFuncName: string, beforeFn: (() => void)) => void)
Type declaration
-
- (targetFuncName: string, beforeFn: (() => void)): void
-
Parameters
-
targetFuncName: string
-
beforeFn: (() => void)
Returns void
inject
inject: ((searcher: string | RegExp, replacer: ((substring: string, ...args: any[]) => string)) => void)
Type declaration
-
- (searcher: string | RegExp, replacer: ((substring: string, ...args: any[]) => string)): void
-
Parameters
-
searcher: string | RegExp
-
replacer: ((substring: string, ...args: any[]) => string)
-
- (substring: string, ...args: any[]): string
-
Parameters
-
substring: string
-
Rest
...args: any[]
Returns string
Returns void
queuedAfterScripts
queuedAfterScripts: Record<string, ((...args: unknown[]) => unknown)[]>
queuedBeforeScripts
queuedBeforeScripts: Record<string, ((...args: unknown[]) => unknown)[]>
queuedInjectScripts
queuedInjectScripts: {
replacer: ((substring: string, ...args: any[]) => string);
searcher: string | RegExp;
}[]
test