Skip to content

Commit c0e1cfe

Browse files
committed
lint
1 parent 11efd95 commit c0e1cfe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pkg/utils/monaco-editor/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ export default function registerEditor() {
477477
updateLang(res);
478478
});
479479

480-
messageQueue.subscribe(SystemConfigChange, ({ key, value }: TKeyValue) => {
480+
messageQueue.subscribe<TKeyValue>(SystemConfigChange, ({ key, value }) => {
481481
if (key === "language") {
482482
updateLang(value);
483483
}

0 commit comments

Comments
 (0)