1
0
mirror of https://github.com/simple-icons/simple-icons.git synced 2024-12-16 01:10:30 +02:00

Fix types export for Typescript v5 module resolution options (#9787)

This commit is contained in:
Álvaro Mondéjar 2023-10-28 18:22:28 +02:00 committed by GitHub
parent 8c31e1a1c4
commit e648a5f8df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,16 +12,40 @@
"types": "index.d.ts",
"exports": {
".": {
"module": "./index.mjs",
"import": "./index.mjs",
"require": "./index.js",
"default": "./index.js"
"import": {
"types": "./index.d.ts",
"default": "./index.mjs"
},
"module": {
"types": "./index.d.ts",
"default": "./index.mjs"
},
"require": {
"types": "./index.d.ts",
"default": "./index.js"
},
"default": {
"types": "./index.d.ts",
"default": "./index.js"
}
},
"./icons": {
"module": "./index.mjs",
"import": "./index.mjs",
"require": "./index.js",
"default": "./index.js"
"import": {
"types": "./index.d.ts",
"default": "./index.mjs"
},
"module": {
"types": "./index.d.ts",
"default": "./index.mjs"
},
"require": {
"types": "./index.d.ts",
"default": "./index.js"
},
"default": {
"types": "./index.d.ts",
"default": "./index.js"
}
},
"./icons/*": [
"./icons/*"