migrate workflow to TS

Summary: Updates scarf workflow to generate TypeScript plugins

Reviewed By: passy

Differential Revision: D16940711

fbshipit-source-id: 5005013512bad969833669c6b0b911d55ea5cd79
This commit is contained in:
Daniel Büchele
2019-08-23 09:30:49 -07:00
committed by Facebook Github Bot
parent acf7eb1080
commit 7ed9e8e670
2 changed files with 2 additions and 2 deletions

View File

@@ -16,7 +16,6 @@ import path from 'path';
export type DefaultKeyboardAction = 'clear' | 'goToBottom' | 'createPaste'; export type DefaultKeyboardAction = 'clear' | 'goToBottom' | 'createPaste';
export type TopLevelMenu = 'Edit' | 'View' | 'Window' | 'Help'; export type TopLevelMenu = 'Edit' | 'View' | 'Window' | 'Help';
const {dialog} = electron.remote;
export type KeyboardAction = { export type KeyboardAction = {
action: string; action: string;
@@ -177,7 +176,7 @@ function getTemplate(
label: 'File...', label: 'File...',
accelerator: 'CommandOrControl+E', accelerator: 'CommandOrControl+E',
click: function() { click: function() {
dialog.showSaveDialog( electron.remote.dialog.showSaveDialog(
null, null,
{ {
title: 'FlipperExport', title: 'FlipperExport',

View File

@@ -174,3 +174,4 @@ export {
export {InspectorSidebar} from './ui/components/elements-inspector/sidebar'; export {InspectorSidebar} from './ui/components/elements-inspector/sidebar';
export {Console} from './ui/components/console'; export {Console} from './ui/components/console';
export {default as Sheet} from './ui/components/Sheet'; export {default as Sheet} from './ui/components/Sheet';
export {KeyboardActions} from './MenuBar';