From 1d059577f706b0704833547ef6072ac3ff2b66af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduardo=20Bou=C3=A7as?= Date: Tue, 18 Jun 2024 09:19:59 +0100 Subject: [PATCH] chore: fix type imports --- src/utils/deploy/hash-fns.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/utils/deploy/hash-fns.ts b/src/utils/deploy/hash-fns.ts index fb9c85ccbd4..9a06a28c63e 100644 --- a/src/utils/deploy/hash-fns.ts +++ b/src/utils/deploy/hash-fns.ts @@ -2,9 +2,7 @@ import { readFile } from 'fs/promises' import path from 'path' import { promisify } from 'util' -import { zipFunctions } from '@netlify/zip-it-and-ship-it' -import type { TrafficRules } from '@netlify/zip-it-and-ship-it/dist/manifest.js' -import type { FunctionResult } from '@netlify/zip-it-and-ship-it/dist/utils/format_result.js' +import { zipFunctions, type FunctionResult, type TrafficRules } from '@netlify/zip-it-and-ship-it' // @ts-expect-error TS(7016) FIXME: Could not find a declaration file for module 'from... Remove this comment to see the full error message import fromArray from 'from2-array' // @ts-expect-error TS(7016) FIXME: Could not find a declaration file for module 'pump... Remove this comment to see the full error message