Skip to content

Commit bae6e07

Browse files
committed
Tweak wording
1 parent 29d5849 commit bae6e07

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/ide/ide.types.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,13 @@ export interface Messages {
3434
* {@link options} for them to select.
3535
*
3636
* @param id Each code site where we issue a warning should have a unique,
37-
* human readable id for testability. This allows us to have tests without
38-
* tying ourself to the specific wording of the warning message.
37+
* human readable id for testability, eg "deprecatedPositionInference". This
38+
* allows us to write tests without tying ourself to the specific wording of
39+
* the warning message provided in {@link message}.
3940
* @param message The message to display to the user
4041
* @param options A list of options to display to the user. The selected
4142
* option will be returned by this function
42-
* @returns The option selected by the user, or undefined if no option was
43+
* @returns The option selected by the user, or `undefined` if no option was
4344
* selected
4445
*/
4546
showWarning(

0 commit comments

Comments
 (0)