mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-11-09 02:18:32 +00:00
test: test Arduino state update for extensions
Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
This commit is contained in:
@@ -21,7 +21,10 @@ import { BoardsServiceProvider } from '../boards/boards-service-provider';
|
||||
import { CurrentSketch } from '../sketches-service-client-impl';
|
||||
import { SketchContribution } from './contribution';
|
||||
|
||||
interface UpdateStateParams<T extends ArduinoState> {
|
||||
/**
|
||||
* (non-API) exported for tests
|
||||
*/
|
||||
export interface UpdateStateParams<T extends ArduinoState = ArduinoState> {
|
||||
readonly key: keyof T;
|
||||
readonly value: T[keyof T];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user