File tree Expand file tree Collapse file tree 3 files changed +2
-6
lines changed Expand file tree Collapse file tree 3 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 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 },
Original file line number Diff line number Diff line change 11import type { MqttClient } from "mqtt" ;
22import { createContext } from "react" ;
33
4- // export type MqttClientType = {
5- // client: MqttClient | null;
6- // status: typeof MQTT_STATUS[keyof typeof MQTT_STATUS];
7- // };
84export type MqttClientType = MqttClient | null ;
5+
96export const MQTT_STATUS = {
107 CONNECTING : "connecting" ,
118 DISCONNECTED : "disconnected" ,
Original file line number Diff line number Diff line change 44 "module" : " ESNext" ,
55 "lib" : [" dom" , " es2017" ],
66 "declaration" : true ,
7- "outDir" : " ./dist" ,
87 "strict" : true ,
98 "esModuleInterop" : true ,
109 "skipLibCheck" : true ,
You can’t perform that action at this time.
0 commit comments