Add missing entry point for generic typings (#284)

This commit is contained in:
Lukasz Ostrowski 2023-09-07 12:18:37 +02:00 committed by GitHub
parent 9098efb670
commit 8ff42af48c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View file

@ -0,0 +1,5 @@
---
"@saleor/app-sdk": patch
---
Added export path "@saleor/app-sdk/types". It was accessible but not correctly marked in package.json. Now its added in "exports" field which should fix some bundles and IDEs

View file

@ -134,6 +134,9 @@
"types": "./headers.d.ts", "types": "./headers.d.ts",
"import": "./headers.mjs", "import": "./headers.mjs",
"require": "./headers.js" "require": "./headers.js"
},
"./types": {
"types": "./types.d.ts"
} }
}, },
"publishConfig": { "publishConfig": {