Skip to content

Commit 1435562

Browse files
committed
fix typedefs for ScramjetFrame as a class
1 parent 1138894 commit 1435562

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/index.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ import * as frame from "../dist/types/controller/frame.ts";
77
declare global {
88
const ScramjetController: typeof controller.ScramjetController;
99
const ScramjetFrame: typeof frame.ScramjetFrame;
10+
type ScramjetController = controller.ScramjetController;
11+
type ScramjetFrame = frame.ScramjetFrame;
1012

1113
type ScramjetConfig = types.ScramjetConfig;
1214
type ScramjetInitConfig = types.ScramjetInitConfig;

0 commit comments

Comments
 (0)