Skip to content

Commit db2b312

Browse files
committed
startup optional arg type changed to () => void
1 parent 37623e5 commit db2b312

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

cursorscene.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ namespace user_interface_base {
5454
)
5555
}
5656

57-
58-
/* override */ startup(controlSetupFn?: () => {}) {
57+
/* override */ startup(controlSetupFn?: () => void) {
5958
super.startup()
6059
if (controlSetupFn != null) {
6160
controlSetupFn();
@@ -174,7 +173,7 @@ namespace user_interface_base {
174173
this.goBack1PageFn = goBack1PageFn
175174
}
176175

177-
/* override */ startup(controlSetupFn?: () => {}) {
176+
/* override */ startup(controlSetupFn?: () => void) {
178177
if (controlSetupFn != null) {
179178
controlSetupFn();
180179
} else {

0 commit comments

Comments
 (0)