fix: Make options in registerExternalDiagrams optional

This commit is contained in:
Sidharth Vinod
2022-11-08 19:21:49 +05:30
parent 7ca525622b
commit 20b4358c0e
3 changed files with 9 additions and 18 deletions

View File

@@ -336,7 +336,7 @@ const registerExternalDiagrams = async (
lazyLoad = true,
}: {
lazyLoad?: boolean;
}
} = {}
) => {
if (lazyLoad) {
registerLazyLoadedDiagrams(diagrams);