node-web-gpio 1.0.20 → 1.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.d.ts +5 -5
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -1,15 +1,15 @@
1
1
  /// <reference types="node" />
2
2
  import { EventEmitter } from 'events';
3
3
  /** ポート番号 */
4
- declare type PortNumber = number;
4
+ type PortNumber = number;
5
5
  /** ポート名 */
6
- declare type PortName = string;
6
+ type PortName = string;
7
7
  /** ピン名 */
8
- declare type PinName = string;
8
+ type PinName = string;
9
9
  /** 入出力方向 */
10
- declare type DirectionMode = 'in' | 'out';
10
+ type DirectionMode = 'in' | 'out';
11
11
  /** GPIO 値 0: LOW / 1: HIGH */
12
- declare type GPIOValue = 0 | 1;
12
+ type GPIOValue = 0 | 1;
13
13
  /**
14
14
  * GPIO チェンジイベント
15
15
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-web-gpio",
3
- "version": "1.0.20",
3
+ "version": "1.0.21",
4
4
  "description": "GPIO access with Node.js",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -22,7 +22,7 @@
22
22
  "lint-staged": "^13.0.0",
23
23
  "prettier": "^2.5.1",
24
24
  "typedoc": "^0.23.0",
25
- "typescript": "^4.2.3"
25
+ "typescript": "^5.0.0"
26
26
  },
27
27
  "scripts": {
28
28
  "build": "tsc",