Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
teunmooij committed Jun 7, 2024
1 parent 4eeb670 commit 4a5f008
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ export interface Systemic<TSystem extends Record<string, Registration>> {
* @param {Component} component the component to be added
* @param options registration options
*/
set: <S extends keyof TSystem, TComponent, Scoped extends boolean = false>(
set: <S extends keyof TSystem & string, TComponent, Scoped extends boolean = false>(
name: S,
component: TComponent,
options?: { scoped?: boolean },
Expand Down

0 comments on commit 4a5f008

Please sign in to comment.