mirror of
https://github.com/apache/superset.git
synced 2026-04-24 02:25:13 +00:00
chore(sqllab): Typescript for SqlEditor component (#25228)
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
* under the License.
|
||||
*/
|
||||
import React, { useState, useEffect, useRef } from 'react';
|
||||
import type { IAceEditor } from 'react-ace/lib/types';
|
||||
import { useDispatch } from 'react-redux';
|
||||
import { css, styled, usePrevious } from '@superset-ui/core';
|
||||
|
||||
@@ -30,7 +31,7 @@ type HotKey = {
|
||||
key: string;
|
||||
descr: string;
|
||||
name: string;
|
||||
func: () => void;
|
||||
func: (aceEditor: IAceEditor) => void;
|
||||
};
|
||||
|
||||
type AceEditorWrapperProps = {
|
||||
|
||||
Reference in New Issue
Block a user