Skip to content

Commit d7a6438

Browse files
authored
Update index-signatures.md
There was just a small typo in this file where an `or` should be an `of` Thanks for the great descriptions.
1 parent a98ec4a commit d7a6438

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/types/index-signatures.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ let foo:{ [index:string] : {message: string} } = {};
115115
*/
116116
/** Ok */
117117
foo['a'] = { message: 'some message' };
118-
/** Error: must contain a `message` or type string. You have a typo in `message` */
118+
/** Error: must contain a `message` of type string. You have a typo in `message` */
119119
foo['a'] = { messages: 'some message' };
120120

121121
/**

0 commit comments

Comments
 (0)