We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68a7e71 commit 470fbc6Copy full SHA for 470fbc6
native.d.ts
@@ -0,0 +1,4 @@
1
+export declare class CelProgram {
2
+ static compile(source: string): Promise<CelProgram>;
3
+ execute(context: Record<string, any>): Promise<any>;
4
+}
package.json
@@ -8,7 +8,8 @@
8
"types": "./dist/src/index.d.ts"
9
},
10
"./native": {
11
- "import": "./index.js"
+ "import": "./index.js",
12
+ "types": "./native.d.ts"
13
}
14
15
"types": "./dist/src/index.d.ts",
src/binding.d.ts
0 commit comments