Skip to content

Commit

Permalink
chore: fix TypeScript test (#1804)
Browse files Browse the repository at this point in the history
The error message was:
Cannot find module 'mysql2' or its corresponding type declarations.
  • Loading branch information
ArtskydJ authored Apr 13, 2023
1 parent e3ca310 commit 3e78661
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typings/test/connection.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

// get the client
import * as mysql from 'mysql2';
import * as mysql from '../../index';
import ConnectionType = require('../mysql/lib/Connection');
import { expect } from 'chai'

Expand Down

0 comments on commit 3e78661

Please sign in to comment.