(name: string, animation: AnimationBuilder)
| 158 | }; |
| 159 | |
| 160 | const registerAnimation = (name: string, animation: AnimationBuilder) => { |
| 161 | menuAnimations.set(name, animation); |
| 162 | }; |
| 163 | |
| 164 | const _register = (menu: MenuI) => { |
| 165 | if (menus.indexOf(menu) < 0) { |
no test coverage detected