1448, chore: add missing semicolons

This commit is contained in:
Ahmed Ejaz 2023-11-12 16:17:33 +05:00 committed by Andreas Nedbal
parent 7ef521ad1f
commit 877d108c2c
2 changed files with 3 additions and 3 deletions

View File

@ -4,11 +4,11 @@ export default class extends Controller {
static values = {
copy: String
}
};
declare readonly copyValue: string;
async copy(){
await navigator.clipboard.writeText(this.copyValue)
await navigator.clipboard.writeText(this.copyValue);
}
}

View File

@ -40,5 +40,5 @@ export default function (): void {
window['Stimulus'].register('theme', ThemeController);
window['Stimulus'].register('toast', ToastController);
window['Stimulus'].register('share', ShareController);
window['Stimulus'].register('clipboard', ClipboardController)
window['Stimulus'].register('clipboard', ClipboardController);
}