refactor(files): Fix Typescript issues in filesListWidth mixin
Use `defineComponent` to properly inherit typings. Expect TS errors for the `$resizeOberserver` as we attach it directly on the component instance. `filesListWidth` is now a number which defaults to 0, making compares like `this.fileListWidth < 768` valid in Typescript. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>pull/45585/head
parent
0cb32880ee
commit
297f0522b2
Loading…
Reference in New Issue