Last active
November 19, 2022 00:37
-
-
Save AnthonyLzq/8a89b975f454054ed78fd67af04c2419 to your computer and use it in GitHub Desktop.
Global .d.ts file that does not work
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { MqttClient } from 'mqtt' | |
interface Route { | |
sub: (client: MqttClient) => void | |
PUB_TOPIC: string | |
SUB_TOPIC: string | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment