Skip to content

Commit 0cc4431

Browse files
committed
Upgrade ui frontend semver dependencies
1 parent 2849e4f commit 0cc4431

File tree

2 files changed

+1869
-1484
lines changed

2 files changed

+1869
-1484
lines changed

ui/frontend/editor/AceEditorCore.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@ const AceEditor: React.FC<AceEditorProps> = props => {
159159
// open the autocomplete. This should help people understand that
160160
// there are crates available.
161161
useEditorProp(editor, autocompleteProps, useCallback((editor, { autocompleteOnUse, crates }) => {
162-
// @ts-expect-error https://github.com/ajaxorg/ace/issues/5742
163162
editor.commands.on('afterExec', ({ editor, command }) => {
164163
if (!(command.name === 'backspace' || command.name === 'insertstring')) {
165164
return;
@@ -258,7 +257,6 @@ const AceEditor: React.FC<AceEditorProps> = props => {
258257
editor.setOption('keyboardHandler', handler);
259258

260259
if (keybinding === 'vim') {
261-
// @ts-expect-error https://github.com/ajaxorg/ace/issues/5743
262260
const { CodeMirror: { Vim } }: VimKeybindings = ace.require('ace/keyboard/vim');
263261
Vim.defineEx('write', 'w', (cm) => {
264262
cm.ace.execCommand('executeCode');

0 commit comments

Comments
 (0)