@mojir/lits 2.6.2 → 2.6.3
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/cli/cli.js +8 -10
- package/dist/cli/src/evaluator/ContextStack.d.ts +1 -1
- package/dist/cli/src/parser/types.d.ts +0 -2
- package/dist/full.esm.js +1 -1
- package/dist/full.esm.js.map +1 -1
- package/dist/full.js +1 -1
- package/dist/full.js.map +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/lits.iife.js +1 -1
- package/dist/lits.iife.js.map +1 -1
- package/dist/modules/src/evaluator/ContextStack.d.ts +1 -1
- package/dist/modules/src/parser/types.d.ts +0 -2
- package/dist/src/evaluator/ContextStack.d.ts +1 -1
- package/dist/src/parser/types.d.ts +0 -2
- package/dist/testFramework.esm.js +1 -1
- package/dist/testFramework.esm.js.map +1 -1
- package/dist/testFramework.js +1 -1
- package/dist/testFramework.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Any } from '../interface';
|
|
2
2
|
import type { ContextParams } from '../Lits/Lits';
|
|
3
3
|
import type { LitsModule } from '../builtin/modules/interface';
|
|
4
|
-
import {
|
|
4
|
+
import type { NativeJsFunction, SymbolNode, UserDefinedSymbolNode } from '../parser/types';
|
|
5
5
|
import type { SourceCodeInfo } from '../tokenizer/token';
|
|
6
6
|
import type { Context, LookUpResult } from './interface';
|
|
7
7
|
export type ContextStack = ContextStackImpl;
|
|
@@ -27,8 +27,6 @@ export interface NativeJsFunction extends GenericLitsFunction {
|
|
|
27
27
|
nativeFn: JsFunction;
|
|
28
28
|
docString: string;
|
|
29
29
|
}
|
|
30
|
-
export declare function isJsFunction(fn: unknown): fn is JsFunction;
|
|
31
|
-
export declare function assertJsFunction(fn: unknown): asserts fn is JsFunction;
|
|
32
30
|
export interface UserDefinedFunction extends GenericLitsFunction {
|
|
33
31
|
functionType: 'UserDefined';
|
|
34
32
|
name: string | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Any } from '../interface';
|
|
2
2
|
import type { ContextParams } from '../Lits/Lits';
|
|
3
3
|
import type { LitsModule } from '../builtin/modules/interface';
|
|
4
|
-
import {
|
|
4
|
+
import type { NativeJsFunction, SymbolNode, UserDefinedSymbolNode } from '../parser/types';
|
|
5
5
|
import type { SourceCodeInfo } from '../tokenizer/token';
|
|
6
6
|
import type { Context, LookUpResult } from './interface';
|
|
7
7
|
export type ContextStack = ContextStackImpl;
|
|
@@ -27,8 +27,6 @@ export interface NativeJsFunction extends GenericLitsFunction {
|
|
|
27
27
|
nativeFn: JsFunction;
|
|
28
28
|
docString: string;
|
|
29
29
|
}
|
|
30
|
-
export declare function isJsFunction(fn: unknown): fn is JsFunction;
|
|
31
|
-
export declare function assertJsFunction(fn: unknown): asserts fn is JsFunction;
|
|
32
30
|
export interface UserDefinedFunction extends GenericLitsFunction {
|
|
33
31
|
functionType: 'UserDefined';
|
|
34
32
|
name: string | undefined;
|