Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@vuedx/compiler-tsx
Advanced tools
Converts .vue file to .tsx for typechecking and intellisense
A custom compiler to convert Vue template to a (functional) TSX representation for type checking.
This package is part of VueDX project, maintained by Rahul Kadyan. You can 💖 sponsor him for continued development of this package and other VueDX tools.
npm add @vuedx/compiler-tsx
Signature:
declare function compile(template: string, options: Options & CompilerOptions): CodegenResult;
Parameter | Type | Description |
---|---|---|
template | string | - |
options | Options & CompilerOptions | - |
Signature:
declare function parse(template: string, options: ParserOptions): RootNode;
Parameter | Type | Description |
---|---|---|
template | string | - |
options | ParserOptions | - |
interface CodegenResult extends CodegenResult$1 {
errors: CompilerError[];
expressions: Array<[number, number]>;
mappings: Array<[number, number, number, number, number]>;
}
interface ComponentImport {
name?: string;
named?: boolean;
path: string;
}
interface Options {
components?: Record<string, ComponentImport>;
filename: string;
}
FAQs
Converts .vue file to .tsx for typechecking and intellisense
The npm package @vuedx/compiler-tsx receives a total of 0 weekly downloads. As such, @vuedx/compiler-tsx popularity was classified as not popular.
We found that @vuedx/compiler-tsx demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.