Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
aricart committed Apr 8, 2024
1 parent bb703fa commit 227595b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion jetstream/tests/jetstream_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1213,7 +1213,7 @@ Deno.test("jetstream - detailed errors", async () => {
});

Deno.test("jetstream - repub on 503", async () => {
let servers = await NatsServer.setupDataConnCluster(4);
const servers = await NatsServer.setupDataConnCluster(4);
const nc = await connect({ port: servers[0].port });

const { stream, subj } = await initStream(nc, nuid.next(), {
Expand Down
3 changes: 1 addition & 2 deletions src/deno_transport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ import {
ServerInfo,
Transport,
} from "../nats-base-client/internal_mod.ts";
import StartTlsOptions = Deno.StartTlsOptions;

const VERSION = "1.21.0";
const LANG = "nats.deno";
Expand Down Expand Up @@ -134,7 +133,7 @@ export class DenoTransport implements Transport {
return JSON.parse(m[1]) as ServerInfo;
}

async loadTlsOptions(hostname: string): Promise<StartTlsOptions> {
async loadTlsOptions(hostname: string): Promise<Deno.StartTlsOptions> {
const tls = this.options && this.options.tls
? this.options.tls
: {} as TlsOptions;
Expand Down

0 comments on commit 227595b

Please sign in to comment.