mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-20 06:07:57 +00:00
273224547c
Change-type: patch Signed-off-by: Cameron Diver <cameron@resin.io>
19 lines
284 B
TypeScript
19 lines
284 B
TypeScript
declare module 'blinking' {
|
|
|
|
interface Pattern {
|
|
blinks?: number;
|
|
onDuration?: number;
|
|
offDuration?: number;
|
|
pause?: number;
|
|
}
|
|
|
|
interface Blink {
|
|
start: (pattern: Pattern) => void
|
|
stop: () => void;
|
|
}
|
|
|
|
function blinking(ledFile: string): Blink;
|
|
|
|
export = blinking;
|
|
}
|