mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-18 05:34:09 +00:00
refactor: use strict typing
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user