fix: complete InvesteMoz validation and error corrections
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
/** Keep malformed structured values visibly invalid instead of displaying [object Object]. */
|
||||
export function inputText(value: unknown): string {
|
||||
if (typeof value === 'object' && value !== null) {
|
||||
return '[valor não textual]';
|
||||
}
|
||||
|
||||
return String(value);
|
||||
}
|
||||
Reference in New Issue
Block a user