Skip to content

Commit 5022b54

Browse files
authored
Merge pull request #1606 from jmordica/master
More complete way of adding typings for the `Server` module
2 parents 11879df + c85cdf2 commit 5022b54

File tree

9 files changed

+970
-142
lines changed

9 files changed

+970
-142
lines changed

index.d.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ import {
77
import * as mysql from './typings/mysql';
88
export * from './typings/mysql';
99

10-
import Server from './lib/server.js';
11-
1210
export interface Connection extends mysql.Connection {
1311
execute<
1412
T extends
@@ -201,4 +199,3 @@ export interface PoolOptions extends mysql.PoolOptions, ConnectionOptions {}
201199
export function createConnection(connectionUri: string): Connection;
202200
export function createConnection(config: ConnectionOptions): Connection;
203201
export function createPool(config: PoolOptions): Pool;
204-
export function createServer(handler: (conn: Connection) => any): Server;

0 commit comments

Comments
 (0)