mirror of
				https://github.com/arduino/arduino-ide.git
				synced 2025-10-31 14:08:32 +00:00 
			
		
		
		
	Make tab width 2 spaces (#445)
This commit is contained in:
		| @@ -1,57 +1,57 @@ | ||||
| import { Programmer } from './boards-service'; | ||||
|  | ||||
| export const CompilerWarningLiterals = [ | ||||
|     'None', | ||||
|     'Default', | ||||
|     'More', | ||||
|     'All', | ||||
|   'None', | ||||
|   'Default', | ||||
|   'More', | ||||
|   'All', | ||||
| ] as const; | ||||
| export type CompilerWarnings = typeof CompilerWarningLiterals[number]; | ||||
|  | ||||
| export const CoreServicePath = '/services/core-service'; | ||||
| export const CoreService = Symbol('CoreService'); | ||||
| export interface CoreService { | ||||
|     compile( | ||||
|         options: CoreService.Compile.Options & | ||||
|             Readonly<{ | ||||
|                 exportBinaries?: boolean; | ||||
|                 compilerWarnings?: CompilerWarnings; | ||||
|             }> | ||||
|     ): Promise<void>; | ||||
|     upload(options: CoreService.Upload.Options): Promise<void>; | ||||
|     uploadUsingProgrammer(options: CoreService.Upload.Options): Promise<void>; | ||||
|     burnBootloader(options: CoreService.Bootloader.Options): Promise<void>; | ||||
|   compile( | ||||
|     options: CoreService.Compile.Options & | ||||
|       Readonly<{ | ||||
|         exportBinaries?: boolean; | ||||
|         compilerWarnings?: CompilerWarnings; | ||||
|       }> | ||||
|   ): Promise<void>; | ||||
|   upload(options: CoreService.Upload.Options): Promise<void>; | ||||
|   uploadUsingProgrammer(options: CoreService.Upload.Options): Promise<void>; | ||||
|   burnBootloader(options: CoreService.Bootloader.Options): Promise<void>; | ||||
| } | ||||
|  | ||||
| export namespace CoreService { | ||||
|     export namespace Compile { | ||||
|         export interface Options { | ||||
|             /** | ||||
|              * `file` URI to the sketch folder. | ||||
|              */ | ||||
|             readonly sketchUri: string; | ||||
|             readonly fqbn?: string | undefined; | ||||
|             readonly optimizeForDebug: boolean; | ||||
|             readonly verbose: boolean; | ||||
|             readonly sourceOverride: Record<string, string>; | ||||
|         } | ||||
|   export namespace Compile { | ||||
|     export interface Options { | ||||
|       /** | ||||
|        * `file` URI to the sketch folder. | ||||
|        */ | ||||
|       readonly sketchUri: string; | ||||
|       readonly fqbn?: string | undefined; | ||||
|       readonly optimizeForDebug: boolean; | ||||
|       readonly verbose: boolean; | ||||
|       readonly sourceOverride: Record<string, string>; | ||||
|     } | ||||
|   } | ||||
|  | ||||
|     export namespace Upload { | ||||
|         export interface Options extends Compile.Options { | ||||
|             readonly port?: string | undefined; | ||||
|             readonly programmer?: Programmer | undefined; | ||||
|             readonly verify: boolean; | ||||
|         } | ||||
|   export namespace Upload { | ||||
|     export interface Options extends Compile.Options { | ||||
|       readonly port?: string | undefined; | ||||
|       readonly programmer?: Programmer | undefined; | ||||
|       readonly verify: boolean; | ||||
|     } | ||||
|   } | ||||
|  | ||||
|     export namespace Bootloader { | ||||
|         export interface Options { | ||||
|             readonly fqbn?: string | undefined; | ||||
|             readonly port?: string | undefined; | ||||
|             readonly programmer?: Programmer | undefined; | ||||
|             readonly verbose: boolean; | ||||
|             readonly verify: boolean; | ||||
|         } | ||||
|   export namespace Bootloader { | ||||
|     export interface Options { | ||||
|       readonly fqbn?: string | undefined; | ||||
|       readonly port?: string | undefined; | ||||
|       readonly programmer?: Programmer | undefined; | ||||
|       readonly verbose: boolean; | ||||
|       readonly verify: boolean; | ||||
|     } | ||||
|   } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Francesco Stasi
					Francesco Stasi