Skip to content

Commit

Permalink
fix(types): clientId type definition and add TSD to CI (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
seriousme authored May 13, 2022
1 parent 798d068 commit 94da46b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
"lint": "standard --verbose | snazzy",
"lint-fix": "standard --fix",
"unit": "tape test.js | faucet",
"test:types": "tsd",
"test:typescript": "tsd",
"test": "npm run lint && npm run unit && tsd",
"coverage": "nyc --reporter=lcov tape test.js",
"test:ci": "npm run lint && npm run coverage",
"test:ci": "npm run lint && npm run coverage && npm run test:typescript",
"license-checker": "license-checker --production --onlyAllow='MIT;ISC;BSD-3-Clause;BSD-2-Clause'",
"release": "read -p 'GITHUB_TOKEN: ' GITHUB_TOKEN && export GITHUB_TOKEN=$GITHUB_TOKEN && release-it --disable-metrics"
},
Expand Down
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type { Readable } from "stream";

export type { AedesPacket as Packet } from "aedes-packet";

type ClientId = Subscription["clientId"];
type ClientId = Client["id"];
type MessageId = AedesPacket["messageId"];
type Topic = Subscription["topic"];
type TopicPattern = Subscription["topic"];
Expand Down

0 comments on commit 94da46b

Please sign in to comment.