Fix types

This commit is contained in:
Gregory Schier
2024-09-22 11:09:18 -07:00
parent 1a4e6de1f4
commit 035d7927f9
21 changed files with 54 additions and 55 deletions

View File

@@ -1,4 +1,4 @@
import { Context, HttpRequest, Model, Workspace } from '@yaakapp/api';
import { Context, HttpRequest, Workspace } from '@yaakapp/api';
import { describe, expect, test } from 'vitest';
import { pluginHookImport } from '../src';
@@ -307,7 +307,7 @@ describe('importer-curl', () => {
});
});
const idCount: Partial<Record<Model['model'], number>> = {};
const idCount: Partial<Record<string, number>> = {};
function baseRequest(mergeWith: Partial<HttpRequest>) {
idCount.http_request = (idCount.http_request ?? -1) + 1;