Skip to content

Commit 86225a3

Browse files
committed
Fix lint issues
1 parent 9b0d567 commit 86225a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ts/ui/menu/AnnotationMenu.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ type AnnotationTypes = { [type: string]: string[] };
4242
/**
4343
* Returns a method to create the dynamic submenu for showing annotations.
4444
*
45-
* @param {SelectableInfo} box The info box in which to post annotation info.
45+
* @param {() => void} box The info box in which to post annotation info.
4646
* @param {AnnotationTypes} types The legitimate annotation types.
4747
* @param {[string, string][]} cache We cache annotations of a math item, so we
4848
* only have to compute them once for the two annotation menus.
@@ -67,7 +67,7 @@ export function showAnnotations(
6767
* @returns {DynamicSubmenu} Method generating
6868
* the copy annotations submenu.
6969
*/
70-
export function copyAnnotations(cache: [string, string][]) {
70+
export function copyAnnotations(cache: [string, string][]): DynamicSubmenu {
7171
return (menu: MJContextMenu, sub: Submenu, callback: SubmenuCallback) => {
7272
const annotations = cache.slice();
7373
cache.length = 0;

0 commit comments

Comments
 (0)