Add types field to package.json (#45)

Thanks so much
This commit is contained in:
Dylan Hu
2025-06-11 19:42:28 -04:00
committed by GitHub
parent 5b259c611c
commit 1e9797e4cd
+1
View File
@@ -6,6 +6,7 @@
"type": "module", "type": "module",
"main": "./dist/spark.cjs.js", "main": "./dist/spark.cjs.js",
"module": "./dist/spark.module.js", "module": "./dist/spark.module.js",
"types": "./dist/types/index.d.ts",
"exports": { "exports": {
".": { ".": {
"types": "./dist/types/index.d.ts", "types": "./dist/types/index.d.ts",