mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-09 00:19:13 +08:00
Update code/lib/preview-api/src/modules/addons/hooks.ts
This commit is contained in:
parent
ed47574d17
commit
6568153a09
@ -31,7 +31,7 @@ interface Effect {
|
||||
|
||||
type AbstractFunction = (...args: any[]) => any;
|
||||
|
||||
export class HooksContext<TRenderer extends Renderer, TArgs = Args> {
|
||||
export class HooksContext<TRenderer extends Renderer, TArgs extends Args = Args> {
|
||||
hookListsMap: WeakMap<AbstractFunction, Hook[]> = undefined as any;
|
||||
|
||||
mountedDecorators: Set<AbstractFunction> = undefined as any;
|
||||
|
Loading…
x
Reference in New Issue
Block a user