There is no INST_EDGE_FALLING exported const but INT_EDGE_FALLING (#11603)

Exporting correct `const` `INST_EDGE_FALLING` -> `INT_EDGE_FALLING`
This commit is contained in:
Ivo Stratev
2016-09-30 15:22:04 +03:00
committed by Masahiro Wakame
parent ae43db1d4e
commit b7db4bcdaf

View File

@@ -29,7 +29,7 @@ declare module 'wiring-pi' {
// Interrupts
export function wiringPiISR(pin: number, edgeType: number, callback: (delta: number) => void): void;
export function wiringPiISRCancel(pin: number): void;
export const INST_EDGE_FALLING: number;
export const INT_EDGE_FALLING: number;
export const INT_EDGE_RISING: number;
export const INT_EDGE_BOTH: number;
export const INT_EDGE_SETUP: number;