Skip to content

Commit

Permalink
build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jin committed Apr 23, 2024
1 parent fa29f20 commit 2f61d08
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions demo/demo.view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ namespace $.$$ {

@ $mol_mem_key
Row_icon( name: string ) {
return new ( this.$[ name ] as typeof $mol_icon )
return new ( ( this.$ as any )[ name ] as typeof $mol_icon )
}

row_title( name: string ) {
return name
}

row_descr( name: string ) {
return this.data()[ name ]
return ( this.data() as any )[ name ]
}

@ $mol_mem
Expand All @@ -26,7 +26,7 @@ namespace $.$$ {
@ $mol_mem
icons_filtered() {
const data = this.data()
return this.icons_all().filter( $mol_match_text( this.icons_filter() , name => [ name.replace( /^\$mol_icon_/ , '' ) , data[ name ] ] ) )
return this.icons_all().filter( $mol_match_text( this.icons_filter() , name => [ name.replace( /^\$mol_icon_/ , '' ) , ( data as any )[ name ] ] ) )
}

@ $mol_mem
Expand Down

0 comments on commit 2f61d08

Please sign in to comment.