From bdd2b667250024e4ddfe028726778dba4633312f Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sun, 25 Jun 2023 17:09:20 -0400 Subject: [PATCH] fix: add @ts-ignore to import.meta.url --- src/path.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/path.ts b/src/path.ts index 11d9426..eea43f0 100644 --- a/src/path.ts +++ b/src/path.ts @@ -2,5 +2,6 @@ import { dirname } from "node:path"; import { fileURLToPath } from "node:url"; export default function () { + // @ts-ignore return dirname(fileURLToPath(import.meta.url)); }