|
| 1 | +declare module 'core-coderoad/lib/alert' { |
| 2 | + export function reducer(open: boolean, action: Action): boolean; |
| 3 | + export function alertOpen(alert: Object); |
| 4 | + export function alertReplay(); |
| 5 | + export function alertClose(); |
| 6 | +} |
| 7 | + |
| 8 | +declare module 'core-coderoad/lib/editor' { |
| 9 | + export function dir(name: string): string; |
| 10 | + export function reducer(name: string, action: Action): string; |
| 11 | + export function editorDevToolsToggle(); |
| 12 | + export function editorOpen(file: string); |
| 13 | + export function editorInsert(content: string); |
| 14 | + export function editorSet(content: string); |
| 15 | + export function editorSave(); |
| 16 | + export function save(); |
| 17 | + export function open(file: string); |
| 18 | + export function openFolder(); |
| 19 | + export function set(content: string); |
| 20 | + export function insert(content: string); |
| 21 | + export function openDevTools(); |
| 22 | + export function toggleDevTools(); |
| 23 | + export function clearConsole(); |
| 24 | + export function openTerminal(); |
| 25 | + export function closeAllPanels(); |
| 26 | + export function quit(); |
| 27 | +} |
| 28 | + |
| 29 | +declare module 'core-coderoad/lib/polyfills' { |
| 30 | + export default function loadPolyfills(): void; |
| 31 | +} |
| 32 | + |
| 33 | +declare module 'core-coderoad/lib/route' { |
| 34 | + export function reducer(route: string, action: Action): string; |
| 35 | + export function routeSet(route: string); |
| 36 | +} |
| 37 | + |
| 38 | +declare module 'core-coderoad/lib/setup' { |
| 39 | + export function checks(checks: CR.Checks, action: Action): CR.Checks; |
| 40 | + export function packageJson(pj: PackageJson, action: Action): PackageJson; |
| 41 | + export function setupVerify(); |
| 42 | + export function setupPackage(); |
| 43 | +} |
| 44 | + |
| 45 | +declare module 'core-coderoad/lib/tutorial' { |
| 46 | + export function reducer(tutorial: CR.Tutorial, action: Action): CR.Tutorial; |
| 47 | + export function tutorialSet(name: string); |
| 48 | +} |
| 49 | + |
| 50 | +declare module 'core-coderoad/lib/tutorials' { |
| 51 | + export function reducer(tutorials: Tutorial.Info[], action: Action): Tutorial.Info[]; |
| 52 | + export function tutorialsFind(); |
| 53 | + export function tutorialUpdate(name: string); |
| 54 | +} |
| 55 | + |
| 56 | +declare module 'core-coderoad/lib/window' { |
| 57 | + export function windowToggle(); |
| 58 | + export function reducer(open: boolean, action: Action): boolean; |
| 59 | +} |
0 commit comments