Skip to content

Commit 9fdc5c9

Browse files
committed
style: 💄 fix linter warnings
1 parent 14c3510 commit 9fdc5c9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/__demos__/json-crdt-server/main-http1-tls.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Run: npx ts-node src/__demos__/json-crdt-server/main-http1-tls.ts
22
// curl https://localhost/rx --insecure -d '[1,1,"util.ping"]'
33

4-
import * as tls from 'tls';
4+
import type * as tls from 'tls';
55
import * as fs from 'fs';
66
import {createCaller, createServices} from './routes';
77
import {RpcServer} from '../../server/http1/RpcServer';

src/server/http1/Http1Server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as http from 'http';
22
import * as https from 'https';
3-
import * as tls from 'tls';
3+
import type * as tls from 'tls';
44
import type * as net from 'net';
55
import {Writer} from '@jsonjoy.com/util/lib/buffers/Writer';
66
import {Codecs} from '@jsonjoy.com/json-pack/lib/codecs/Codecs';

src/server/http1/RpcServer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type {Printable} from 'sonic-forest/lib/print/types';
22
import {printTree} from 'sonic-forest/lib/print/printTree';
3-
import {Http1CreateServerOpts, Http1Server, Http1ServerOpts} from './Http1Server';
3+
import {type Http1CreateServerOpts, Http1Server, type Http1ServerOpts} from './Http1Server';
44
import {RpcError} from '../../common/rpc/caller';
55
import {
66
type IncomingBatchMessage,

0 commit comments

Comments
 (0)