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

This commit is contained in:
Grant 2024-06-04 16:25:53 -06:00
parent a715f534b8
commit 5d2ef8989e
1 changed files with 1 additions and 1 deletions

View File

@ -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);