1
0
Fork 0
mirror of https://github.com/classchartsapi/classcharts-api-js.git synced 2026-05-14 11:58:13 +00:00

fix: export types first

see: https://publint.dev/rules#exports_types_should_be_first
This commit is contained in:
James Cook 2023-06-01 19:45:40 +01:00
parent 2184c86f3c
commit 40b1683d94
2 changed files with 7 additions and 2 deletions

View file

@ -0,0 +1,5 @@
---
"classcharts-api": patch
---
Export types first

View file

@ -48,9 +48,9 @@
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
"require": "./dist/index.js"
},
"./types": "./dist/index.d.ts",
"./package.json": "./package.json"