@fictjs/compiler 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2440 -1977
- package/dist/index.d.cts +10 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +2440 -1977
- package/package.json +3 -2
package/dist/index.d.cts
CHANGED
|
@@ -21,6 +21,16 @@ interface FictCompilerOptions {
|
|
|
21
21
|
optimize?: boolean;
|
|
22
22
|
/** Allow inlining single-use derived values even when user-named */
|
|
23
23
|
inlineDerivedMemos?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Optional TypeScript integration data provided by tooling (e.g., Vite plugin).
|
|
26
|
+
* The compiler currently ignores this, but it enables future type-aware passes.
|
|
27
|
+
*/
|
|
28
|
+
typescript?: {
|
|
29
|
+
program?: unknown;
|
|
30
|
+
checker?: unknown;
|
|
31
|
+
projectVersion?: number;
|
|
32
|
+
configPath?: string;
|
|
33
|
+
};
|
|
24
34
|
}
|
|
25
35
|
|
|
26
36
|
declare const createFictPlugin: (api: object, options: FictCompilerOptions | null | undefined, dirname: string) => BabelCore.PluginObj<BabelCore.PluginPass>;
|
package/dist/index.d.ts
CHANGED
|
@@ -21,6 +21,16 @@ interface FictCompilerOptions {
|
|
|
21
21
|
optimize?: boolean;
|
|
22
22
|
/** Allow inlining single-use derived values even when user-named */
|
|
23
23
|
inlineDerivedMemos?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Optional TypeScript integration data provided by tooling (e.g., Vite plugin).
|
|
26
|
+
* The compiler currently ignores this, but it enables future type-aware passes.
|
|
27
|
+
*/
|
|
28
|
+
typescript?: {
|
|
29
|
+
program?: unknown;
|
|
30
|
+
checker?: unknown;
|
|
31
|
+
projectVersion?: number;
|
|
32
|
+
configPath?: string;
|
|
33
|
+
};
|
|
24
34
|
}
|
|
25
35
|
|
|
26
36
|
declare const createFictPlugin: (api: object, options: FictCompilerOptions | null | undefined, dirname: string) => BabelCore.PluginObj<BabelCore.PluginPass>;
|