node_modules/knex-snowflake-dialect/lib/index.d.ts:5:52 - error TS2339: Property 'Client' does not exist on type 'typeof import("/home/xiemicha/projects/portal-api/node_modules/knex/types/index")'.
5 export declare class SnowflakeDialect extends Knex.Client {
node_modules/knex-snowflake-dialect/lib/index.d.ts:11:66 - error TS2694: Namespace '"/home/xiemicha/projects/portal-api/node_modules/knex/types/index"' has no exported member 'Transaction'.
11 transaction(container: any, config: any, outerTx: any): Knex.Transaction;
```
Expected Result
use of snowflake connection should connect to snowflake database
Actual Result
a bunch of type error
Steps to reproduce
const knex = require('knex')({ client: SnowflakeDialect as any, connection: process.env.SNOWFLAKE_CONNECTION_STRING, pool: { min: 1, max: 1, }, });
const httpTrigger: AzureFunction = async function ( context: Context, req: HttpRequest, ): Promise {
try {
if (!req.body) throw new Error('no request body');
};
export default httpTrigger;
node_modules/knex-snowflake-dialect/lib/index.d.ts:5:52 - error TS2339: Property 'Client' does not exist on type 'typeof import("/home/xiemicha/projects/portal-api/node_modules/knex/types/index")'.
5 export declare class SnowflakeDialect extends Knex.Client {