refactor: update file handling and improve component structure
- fix api client - make controlbar look better - fix api client again
This commit is contained in:
parent
50b1bc2b24
commit
98a582c8d4
10 changed files with 62 additions and 31 deletions
|
@ -10,7 +10,7 @@ import {
|
|||
} from "@builder.io/qwik";
|
||||
import { Atom, WritableAtom } from "nanostores";
|
||||
|
||||
function writeable<T = any>(store: Atom<T> | WritableAtom<T>): store is WritableAtom<T> {
|
||||
function writeable<T>(store: Atom<T> | WritableAtom<T>): store is WritableAtom<T> {
|
||||
return typeof (store as WritableAtom<T>).set === 'function';
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue