chore(sqllab): Typescript for SqlEditor component (#25228)

This commit is contained in:
JUST.in DO IT
2023-10-05 12:33:01 -04:00
committed by GitHub
parent c81c60c91f
commit 34f99708d4
15 changed files with 216 additions and 158 deletions

View File

@@ -19,7 +19,6 @@
import React, { useMemo } from 'react';
import { t, styled, useTheme } from '@superset-ui/core';
import { Menu } from 'src/components/Menu';
import Button from 'src/components/Button';
import Icons from 'src/components/Icons';
import { DropdownButton } from 'src/components/DropdownButton';
@@ -33,7 +32,7 @@ export interface RunQueryActionButtonProps {
queryState?: string;
runQuery: (c?: boolean) => void;
stopQuery: () => void;
overlayCreateAsMenu: typeof Menu | null;
overlayCreateAsMenu: React.ReactElement | null;
}
const buildText = (