xo: Fix @typescript-eslint/consistent-type-definitions.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2023-01-03 14:46:10 -08:00
parent 1aa4ade3c0
commit cd023ec5ab
23 changed files with 54 additions and 54 deletions

View File

@@ -19,7 +19,7 @@ import {contextMenu} from "./context-menu";
const shouldSilentWebview = ConfigUtil.getConfigItem("silent", false);
interface WebViewProps {
type WebViewProps = {
$root: Element;
rootWebContents: WebContents;
index: number;
@@ -32,7 +32,7 @@ interface WebViewProps {
preload?: string;
onTitleChange: () => void;
hasPermission?: (origin: string, permission: string) => boolean;
}
};
export default class WebView {
static templateHtml(props: WebViewProps): Html {