Semi-manually create TypeScript declarations for all exported types from markdownlint-micromark (directions in types.d.ts).

This commit is contained in:
David Anson 2024-03-04 21:01:56 -08:00
parent 2b73095ebd
commit 3f31d6f7a2
4 changed files with 1831 additions and 2 deletions

View file

@ -0,0 +1,40 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"projectFolder": ".",
"mainEntryPointFilePath": "<projectFolder>/types.d.ts",
"bundledPackages": [ "*" ],
"newlineKind": "os",
"compiler": {
"overrideTsconfig": {}
},
"apiReport": {
"enabled": false
},
"docModel": {
"enabled": false
},
"dtsRollup": {
"enabled": true,
"untrimmedFilePath": "<projectFolder>/micromark.d.ts"
},
"tsdocMetadata": {
"enabled": false
},
"messages": {
"compilerMessageReporting": {
"default": {
"logLevel": "warning"
}
},
"extractorMessageReporting": {
"default": {
"logLevel": "warning"
}
},
"tsdocMessageReporting": {
"default": {
"logLevel": "warning"
}
}
}
}