Commit 5d2ef898 authored by Grant's avatar Grant
Browse files

fix type error (config is always defined when this is loaded)

parent a715f534
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ export const Template = () => {
      return;
    }

    instance.current = new TemplateCl(config, templateHolder.current);
    instance.current = new TemplateCl(config!, templateHolder.current);

    instance.current.on("autoDetectWidth", (width) => {
      console.log("autodetectwidth", width);