Skip to content

Commit fc24ed8

Browse files
committed
$hyoo_apps, fix types, after hyoo-ru/mam_mol#646
1 parent e893977 commit fc24ed8

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

apps.view.tree

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ $hyoo_apps $mol_book2
4141
release @ \For All
4242
develop @ \For Experts
4343
preview @ \For Curious
44-
apps *
44+
apps *$hyoo_apps_app
4545
studio *
4646
target \develop
4747
title @ \Online Studio

apps.view.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace $.$$ {
66
return this.$.$mol_state_arg.value( 'app' )
77
}
88

9-
group_name( id: string ) {
9+
group_name( id: keyof ReturnType<typeof this.groups> ) {
1010
return this.groups()[ id ]
1111
}
1212

type.ts

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
namespace $ {
2+
export type $hyoo_apps_app = {
3+
target: string
4+
title: string
5+
uri: string
6+
}
7+
}

0 commit comments

Comments
 (0)