diff --git a/types/pigpio/index.d.ts b/types/pigpio/index.d.ts index 8eaa6491bb..b62528b17c 100644 --- a/types/pigpio/index.d.ts +++ b/types/pigpio/index.d.ts @@ -1,6 +1,8 @@ // Type definitions for pigpio 1.2 // Project: https://github.com/fivdi/pigpio -// Definitions by: ManerFan , erikma +// Definitions by: ManerFan +// erikma +// park012241 // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// @@ -72,9 +74,9 @@ export class Gpio extends NodeJS.EventEmitter { /** * Sets the GPIO level to 0 or 1. If PWM or servo pulses are active on the GPIO they are switched off. - * @param levle 0 or 1 + * @param level 0 or 1 */ - digitalWrite(levle: number): Gpio; + digitalWrite(level: number): Gpio; /** * Sends a trigger pulse to the GPIO. The GPIO is set to level for pulseLen microseconds and then reset to not level.