Skip to content

Commit 4040750

Browse files
refactor(ErrorMessage): add template property.
1 parent 0d5cc92 commit 4040750

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,22 @@
11
/**
22
* The shape of an `object` for the error message that contains a possible solution to the described problem.
3+
* @param fix A possible solution to the described problem of a `string` type.
4+
* @param problem Description of validation problem of a string type.
5+
* @param template An optional message template of a `string` type.
36
*/
47
export interface ErrorMessage {
58
/**
6-
* Possible solution to the described problem of a `string` type.
9+
* A possible solution to the described problem of a `string` type.
710
*/
811
fix: string;
12+
913
/**
10-
* Error problem of a `string` type.
14+
* Description of validation problem of a `string` type.
1115
*/
1216
problem: string;
17+
18+
/**
19+
* An optional message template of a `string` type.
20+
*/
21+
template?: string;
1322
}

0 commit comments

Comments
 (0)