Hack typing fix

This commit is contained in:
Benjamin Bädorf 2021-03-08 16:30:56 +01:00
parent 4fc087a752
commit c5c32be397
No known key found for this signature in database
GPG key ID: 4406E80E13CD656C

View file

@ -53,7 +53,7 @@ export const SbMain = defineComponent({
}, },
}, },
setup(props) { // TODO: why does the typing of props not work here? setup(props: any) { // TODO: why does the typing of props not work here?
const el: Ref<null|HTMLElement> = ref(null); const el: Ref<null|HTMLElement> = ref(null);
useResizeObserver(el, SymEditorDimensions); useResizeObserver(el, SymEditorDimensions);