Skip to content

Commit

Permalink
fix(router): add _routeContextUpdated to interface
Browse files Browse the repository at this point in the history
  • Loading branch information
AliMD authored and njfamirm committed Feb 25, 2023
1 parent 4c5f669 commit 72865b8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ui/element/src/mixins/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ import {routeContextConsumer, type RouteContext} from '@alwatr/router';
import type {SignalMixinInterface} from './signal.js';
import type {Constructor} from '@alwatr/type';

export declare class RouterMixinInterface extends SignalMixinInterface {}
export declare class RouterMixinInterface extends SignalMixinInterface {
protected _routeContextUpdated(routeContext: RouteContext): void;
}

export function RouterMixin<T extends Constructor<SignalMixinInterface>>(
superClass: T,
Expand Down

0 comments on commit 72865b8

Please sign in to comment.