When i run npm install --save-dev types/mysql2#semver:1.0.0 it gives me the types that are pre PR-18. For instance, the createConnection method in promise.d.ts still returns a Connection, not Promise.
export function createConnection(connectionUri: string): Connection;
export function createConnection(config: ConnectionOptions): Connection;
When i run.
npm install --save-dev types/mysql2#semver:1.0.0
it gives me the types that are pre PR-18. For instance, the createConnection method in promise.d.ts still returns a Connection, not Promiseexport function createConnection(connectionUri: string): Connection; export function createConnection(config: ConnectionOptions): Connection;
Am I doing something wrong? Thanks