Skip to content

Commit

Permalink
chore(script): use type import on pg.Pool
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasduteil committed Sep 27, 2024
1 parent 4f94b36 commit b6f1403
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/run-sql-script.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { promises as fs } from "fs";
import { Pool } from "pg";
import type { Pool } from "pg";
import { getDatabaseConnection } from "../src/connectors/postgres";

const runScript = async (filePath: string): Promise<void> => {
Expand Down
2 changes: 1 addition & 1 deletion scripts/update-organizations-info.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { AxiosError } from "axios";
import { isDate, isEmpty, toInteger } from "lodash-es";
import { Pool } from "pg";
import type { Pool } from "pg";
import { getOrganizationInfo } from "../src/connectors/api-sirene";
import { getDatabaseConnection } from "../src/connectors/postgres";
import { upsert } from "../src/repositories/organization/setters";
Expand Down

0 comments on commit b6f1403

Please sign in to comment.