Skip to content

Commit 3e78661

Browse files
authored
chore: fix TypeScript test (#1804)
The error message was: Cannot find module 'mysql2' or its corresponding type declarations.
1 parent e3ca310 commit 3e78661

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

typings/test/connection.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22

33
// get the client
4-
import * as mysql from 'mysql2';
4+
import * as mysql from '../../index';
55
import ConnectionType = require('../mysql/lib/Connection');
66
import { expect } from 'chai'
77

0 commit comments

Comments
 (0)