Skip to content

Commit d9b5a21

Browse files
committed
fix
1 parent 1c3589b commit d9b5a21

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
],
2626
"scripts": {
2727
"dev": "tsup --watch",
28-
"build": "tsc && tsup",
28+
"build": "tsup",
2929
"lint": "eslint . --fix",
3030
"release": "pnpm lint && pnpm build && changeset version && changeset publish"
3131
},

src/contexts/mqtt-context.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
import type { MqttClient } from "mqtt";
22
import { createContext } from "react";
33

4-
// export type MqttClientType = {
5-
// client: MqttClient | null;
6-
// status: typeof MQTT_STATUS[keyof typeof MQTT_STATUS];
7-
// };
84
export type MqttClientType = MqttClient | null;
5+
96
export const MQTT_STATUS = {
107
CONNECTING: "connecting",
118
DISCONNECTED: "disconnected",

tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"module": "ESNext",
55
"lib": ["dom", "es2017"],
66
"declaration": true,
7-
"outDir": "./dist",
87
"strict": true,
98
"esModuleInterop": true,
109
"skipLibCheck": true,

0 commit comments

Comments
 (0)