File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -34,12 +34,13 @@ export interface Messages {
34
34
* {@link options} for them to select.
35
35
*
36
36
* @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}.
39
40
* @param message The message to display to the user
40
41
* @param options A list of options to display to the user. The selected
41
42
* 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
43
44
* selected
44
45
*/
45
46
showWarning (
You can’t perform that action at this time.
0 commit comments