mirror of
https://github.com/aljazceru/mutiny-web.git
synced 2025-12-31 21:04:26 +01:00
add check-types command and fix type errors
This commit is contained in:
@@ -12,7 +12,7 @@ export const useCopy = ({ copiedTimeout = 2000 }: UseCopyProps = {}): [
|
||||
copied: Accessor<boolean>
|
||||
] => {
|
||||
const [copied, setCopied] = createSignal(false);
|
||||
let timeout: number;
|
||||
let timeout: ReturnType<typeof setTimeout> | undefined;
|
||||
const copy: CopyFn = async (text) => {
|
||||
if (Capacitor.isNativePlatform()) {
|
||||
await Clipboard.write({
|
||||
|
||||
Reference in New Issue
Block a user