Skip to content

Commit 2e8709e

Browse files
Fix: JSON module import requires module type annotation
2 parents 08d54e5 + f8a7066 commit 2e8709e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/lib/zod-iso3-validator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import countries3to2 from "countries-list/minimal/countries.3to2.min.json"
1+
import countries3to2 from "countries-list/minimal/countries.3to2.min.json" with { type: "json" }
22
import { type core, z } from "zod/v4"
33

44
const iso3Codes = new Set(Object.keys(countries3to2))

0 commit comments

Comments
 (0)