Update index.d.ts

This commit is contained in:
Rahul Kashyap
2018-02-11 11:24:51 +05:30
committed by GitHub
parent b59ec53dd0
commit 4332ab9682
+2 -2
View File
@@ -510,10 +510,10 @@ export declare module Led {
on(): void;
off(): void;
color(value: string): void;
color(value: string): void; // color method expects string.
toggle(): void;
strobe(ms: number): void;
intensity(value: number): void;
intensity(value: number): void; // intensity is the correct method here instead of brightness.
fadeIn(ms: number): void;
fadeOut(ms: number): void;
pulse(ms: number): void;