Area with issue?
JSON Schema
✔️ Expected Behavior
TypeScript supported types@>=5.0 export API should be supported when inside of exports
❌ Actual Behavior
It does not parse as a valid property
YAML or JSON file that does not work.
{
"//": "...",
"exports": {
".": {
"import": {
"types@>=5.0": "./ts-5/index.v5.d.ts",
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types@>=5.0": "./ts-5/index.v5.d.cts",
"types": "./dist/cjs/index.d.cts",
"default": "./dist/cjs/index.cjs"
}
},
"./package.json": "./package.json"
},
}
IDE or code editor.
Visual Studio Code
Are you making a PR for this?
No, someone else must create the PR.
FWIW I'd be willing to make a PR, but I'm not familiar enough with JSON schema to add a string property in addition to static properties like is needed here
Area with issue?
JSON Schema
✔️ Expected Behavior
TypeScript supported
types@>=5.0export API should be supported when inside ofexports❌ Actual Behavior
It does not parse as a valid property
YAML or JSON file that does not work.
{ "//": "...", "exports": { ".": { "import": { "types@>=5.0": "./ts-5/index.v5.d.ts", "types": "./dist/esm/index.d.ts", "default": "./dist/esm/index.js" }, "require": { "types@>=5.0": "./ts-5/index.v5.d.cts", "types": "./dist/cjs/index.d.cts", "default": "./dist/cjs/index.cjs" } }, "./package.json": "./package.json" }, }IDE or code editor.
Visual Studio Code
Are you making a PR for this?
No, someone else must create the PR.