refactor: use strict typing

This commit is contained in:
Carlos Valente
2025-03-21 19:44:16 +01:00
parent 7287cf8511
commit 6b01338118
39 changed files with 339 additions and 246 deletions
@@ -31,7 +31,8 @@ export function clear() {
* Exposes the internal state of the message service
*/
export function getState(): MessageState {
return storeGet('message');
// we know this exists at runtime
return storeGet('message') as MessageState;
}
/**