style: change isLocalMessageId return data type

pull/146/head
moonrailgun 2 years ago
parent 4506a63db0
commit 7c4eec98f6

@ -48,7 +48,7 @@ export function isValidStr(str: unknown): str is string {
return typeof str == 'string' && str !== '';
}
export function isLocalMessageId(str: unknown): str is string {
export function isLocalMessageId(str: unknown): boolean {
if (typeof str !== 'string') {
return false;
}

Loading…
Cancel
Save