1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Fix eslint misconfiguration and corresponding errors

This commit is contained in:
Matt
2021-08-23 22:31:36 -07:00
parent 82a209bc5b
commit a0ba8380c9
34 changed files with 154 additions and 139 deletions

View File

@ -1,7 +1,7 @@
import Clipboard from 'clipboard';
import { getElements } from './util';
export function initClipboard() {
export function initClipboard(): void {
for (const element of getElements('a.copy-token', 'button.copy-secret')) {
new Clipboard(element);
}