Browse Source

fix: type issue

Peng Xiao 3 years ago
parent
commit
4b7a72361a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tldraw/packages/react/src/lib/TLReactApp.ts

+ 1 - 1
tldraw/packages/react/src/lib/TLReactApp.ts

@@ -3,5 +3,5 @@ import type { TLReactShape } from './TLReactShape'
 import type { TLReactEventMap } from '~types'
 
 export class TLReactApp<S extends TLReactShape = TLReactShape> extends TLApp<S, TLReactEventMap> {
-    pubEvent: any
+    pubEvent?: any
 }