Vue - Official extension or vue-tsc version
3.2.6
VSCode version
I do not use vs code
Vue version
3.5.31
TypeScript version
6.0.2
System Info
System:
OS: Linux 6.8 Ubuntu 24.04.4 LTS 24.04.4 LTS (Noble Numbat)
CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
Memory: 15.19 GB / 30.23 GB
Container: Yes
Shell: 5.2.21 - /bin/bash
Binaries:
Node: 24.13.0 - /home/michael/.nvm/versions/node/v24.13.0/bin/node
Yarn: 4.13.0 - /home/michael/.nvm/versions/node/v24.13.0/bin/yarn
npm: 11.12.1 - /home/michael/.nvm/versions/node/v24.13.0/bin/npm
bun: 1.2.8 - /home/michael/.bun/bin/bun
Browsers:
Brave Browser: 146.1.88.136
Chrome: 146.0.7680.164
Firefox: 148.0.2
Firefox Developer Edition: 148.0.2
package.json dependencies
Steps to reproduce
I have the following types
export type Alignment = 'left' | 'center' | 'right';
export interface Alignable {
/** The component's alignment */
alignment?: Alignment;
}
My scripts generates the data, something like
const checkerOptions: MetaCheckerOptions = {
printer: { newLine: 1 },
};
const tsconfigChecker = createChecker(
resolve(corePath, 'tsconfig.build.json'),
checkerOptions,
);
....
tsconfigChecker.getComponentMeta(componentPath);
Before 3.2.x the generated output was:
{
"name": "alignment",
"global": false,
"description": "The component's alignment",
"tags": [],
"required": false,
"type": "Alignment | undefined",
"declarations": [
{
"file": "https://github.com/michaelcozzolino/flyonui-vue/blob/3.x/packages/core/src/Lib/UseAlignment/Types/Alignment.ts",
"range": [
310,
332
]
}
],
"schema": {
"kind": "enum",
"type": "Alignment | undefined",
"schema": [
"undefined",
"\"left\"",
"\"right\"",
"\"center\""
]
},
"default": "\"left\""
},
now from 3.2.x it is
{
"name": "alignment",
"global": false,
"default": "\"left\"",
"description": "The component's alignment",
"tags": [],
"required": false,
"type": "Alignment | undefined",
"schema": "Alignment | undefined",
"declarations": []
},
the declaration paths and the schema with the different values have disappeared
What is expected?
the declaration paths and the schema with the different values should stay there
What is actually happening?
the declaration paths and the schema with the different values have disappeared
Link to minimal reproduction
No response
Any additional comments?
No response
Vue - Official extension or vue-tsc version
3.2.6
VSCode version
I do not use vs code
Vue version
3.5.31
TypeScript version
6.0.2
System Info
System: OS: Linux 6.8 Ubuntu 24.04.4 LTS 24.04.4 LTS (Noble Numbat) CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz Memory: 15.19 GB / 30.23 GB Container: Yes Shell: 5.2.21 - /bin/bash Binaries: Node: 24.13.0 - /home/michael/.nvm/versions/node/v24.13.0/bin/node Yarn: 4.13.0 - /home/michael/.nvm/versions/node/v24.13.0/bin/yarn npm: 11.12.1 - /home/michael/.nvm/versions/node/v24.13.0/bin/npm bun: 1.2.8 - /home/michael/.bun/bin/bun Browsers: Brave Browser: 146.1.88.136 Chrome: 146.0.7680.164 Firefox: 148.0.2 Firefox Developer Edition: 148.0.2package.json dependencies
Steps to reproduce
I have the following types
My scripts generates the data, something like
Before 3.2.x the generated output was:
now from 3.2.x it is
the declaration paths and the schema with the different values have disappeared
What is expected?
the declaration paths and the schema with the different values should stay there
What is actually happening?
the declaration paths and the schema with the different values have disappeared
Link to minimal reproduction
No response
Any additional comments?
No response