diff --git a/index.d.ts b/index.d.ts index dd5dbfe..c8cfd0b 100644 --- a/index.d.ts +++ b/index.d.ts @@ -266,4 +266,3 @@ console.log(figures.tick); ``` */ export function replaceSymbols(string: string): string; - diff --git a/package.json b/package.json index efcb1ff..f8af35e 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,10 @@ "url": "https://sindresorhus.com" }, "type": "module", - "exports": "./index.js", + "exports": { + "types": "./index.d.ts", + "default": "./index.js" + }, "engines": { "node": ">=18" }, @@ -35,7 +38,7 @@ "fallback" ], "dependencies": { - "is-unicode-supported": "^1.2.0" + "is-unicode-supported": "^2.0.0" }, "devDependencies": { "ava": "^5.3.1", diff --git a/readme.md b/readme.md index c42d606..0c59d85 100644 --- a/readme.md +++ b/readme.md @@ -314,15 +314,3 @@ They can display most but not all of the symbols listed above. ## Related - [log-symbols](https://github.com/sindresorhus/log-symbols) - Colored symbols for various log levels - ---- - -