We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bc7403 commit e83d29dCopy full SHA for e83d29d
scrapbox.ts
@@ -68,12 +68,12 @@ export interface PopupMenu {
68
*
69
* 関数を設定して、選択範囲が変わるたびにタイトルを変更させる事もできる
70
*/
71
- title: string | ((text: string) => (string | undefined));
+ title: string | ((text: string) => string | undefined);
72
/** ボタンをクリックしたときに実行する処理
73
74
* @return ここで返した文字列で選択範囲を置換し、popupを閉じる。`undefined`を返した場合は何もしない。popupも閉じない
75
76
- onClick: (text: string) => (string | undefined);
+ onClick: (text: string) => string | undefined;
77
}) => void;
78
}
79
0 commit comments