Skip to content

Commit

Permalink
$hyoo_apps, fix types, after hyoo-ru/mam_mol#646
Browse files Browse the repository at this point in the history
  • Loading branch information
zerkalica committed Nov 19, 2023
1 parent e893977 commit fc24ed8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps.view.tree
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ $hyoo_apps $mol_book2
release @ \For All
develop @ \For Experts
preview @ \For Curious
apps *
apps *$hyoo_apps_app
studio *
target \develop
title @ \Online Studio
Expand Down
2 changes: 1 addition & 1 deletion apps.view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace $.$$ {
return this.$.$mol_state_arg.value( 'app' )
}

group_name( id: string ) {
group_name( id: keyof ReturnType<typeof this.groups> ) {
return this.groups()[ id ]
}

Expand Down
7 changes: 7 additions & 0 deletions type.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
namespace $ {
export type $hyoo_apps_app = {
target: string
title: string
uri: string
}
}

0 comments on commit fc24ed8

Please sign in to comment.