Rename type declaration file micromark.d.ts to micromark.d.cts in markdownlint-micromark so TypeScript will successfully reference it via its package.json/types (fixes #1160, closes #1160).

This commit is contained in:
David Anson 2024-03-27 20:35:06 -07:00
parent b7ed1e6540
commit 0dbbedb2f7
4 changed files with 7 additions and 7 deletions

View file

@ -1,10 +1,10 @@
{
"name": "markdownlint-micromark",
"version": "0.1.9",
"version": "0.1.10",
"description": "A trivial package that re-exports some micromark functionality as a CommonJS module",
"type": "commonjs",
"exports": "./micromark.cjs",
"types": "./micromark.d.ts",
"types": "./micromark.d.cts",
"author": "David Anson (https://dlaa.me/)",
"license": "MIT",
"homepage": "https://github.com/DavidAnson/markdownlint",
@ -26,7 +26,7 @@
"micromark-browser.js",
"micromark-html-browser.js",
"micromark.cjs",
"micromark.d.ts",
"micromark.d.cts",
"package.json",
"README.md"
],