We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
`export default class NatsIoClient { servers: string[] conn?: NatsConnection
constructor(servers: string[]) { this.servers = servers }
public async initialize() { this.conn = await connect({ servers: this.servers, noEcho: true, }) console.log(connected to ${this.conn.getServer()}) this.eventListener(this.conn) } //...... }`
connected to ${this.conn.getServer()}
This class don't support to initialize nats with username and password, could you update to support it? Thanks a lot.
The text was updated successfully, but these errors were encountered:
there is error when i run tsc.
tsc -p tsconfig.build.json lib/module/msgPackModule.ts:27:12 - error TS2339: Property 'uid' does not exist on type 'unknown'.
27 const {uid, packet, opts} = decode(msg) ~~~
lib/module/msgPackModule.ts:27:17 - error TS2339: Property 'packet' does not exist on type 'unknown'.
27 const {uid, packet, opts} = decode(msg) ~~~~~~
lib/module/msgPackModule.ts:27:25 - error TS2339: Property 'opts' does not exist on type 'unknown'.
27 const {uid, packet, opts} = decode(msg) ~~~~
Found 3 errors in the same file, starting at: lib/module/msgPackModule.ts:27
Sorry, something went wrong.
Thanks for your interest in this project. This issue will be updated in about a month!
No branches or pull requests
`export default class NatsIoClient {
servers: string[]
conn?: NatsConnection
constructor(servers: string[]) {
this.servers = servers
}
public async initialize() {
this.conn = await connect({
servers: this.servers,
noEcho: true,
})
console.log(
connected to ${this.conn.getServer()}
)this.eventListener(this.conn)
}
//......
}`
This class don't support to initialize nats with username and password, could you update to support it? Thanks a lot.
The text was updated successfully, but these errors were encountered: