mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
36 lines
750 B
Plaintext
36 lines
750 B
Plaintext
//// [/script.box] (ScriptKind: ScriptKindTS, ContentMapper: [.box])
|
|
--- Original ---
|
|
// @box-extension: .ts
|
|
export const value: number = 1;
|
|
--- Transformed ---
|
|
const __VERSION = "1.0.0";
|
|
// @box-extension: .ts
|
|
export const value: number = 1;
|
|
|
|
//// [/component.box] (ScriptKind: ScriptKindTSX, ContentMapper: [.box])
|
|
--- Original ---
|
|
// @box-extension: .tsx
|
|
declare global {
|
|
namespace JSX {
|
|
interface IntrinsicElements {
|
|
div: {};
|
|
}
|
|
}
|
|
}
|
|
export const view = <div />;
|
|
--- Transformed ---
|
|
const __VERSION = "1.0.0";
|
|
// @box-extension: .tsx
|
|
declare global {
|
|
namespace JSX {
|
|
interface IntrinsicElements {
|
|
div: {};
|
|
}
|
|
}
|
|
}
|
|
export const view = <div />;
|
|
|
|
=== Diagnostics ===
|
|
|
|
<no content>
|