n8n/packages/cli/test/integration/shared/augmentation.d.ts
2023-01-25 02:18:39 +01:00

12 lines
293 B
TypeScript

import superagent = require('superagent');
import type { ObjectLiteral } from 'typeorm';
/**
* Make `SuperTest<T>` string-indexable.
*/
declare module 'supertest' {
interface SuperTest<T extends superagent.SuperAgentRequest>
extends superagent.SuperAgent<T>,
Record<string, any> {}
}