Skip to content

Commit 470fbc6

Browse files
chore: clean up native typings
1 parent 68a7e71 commit 470fbc6

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

native.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"types": "./dist/src/index.d.ts"
99
},
1010
"./native": {
11-
"import": "./index.js"
11+
"import": "./index.js",
12+
"types": "./native.d.ts"
1213
}
1314
},
1415
"types": "./dist/src/index.d.ts",

src/binding.d.ts

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)