1
0
Fork 0
mirror of https://github.com/Findus23/RPGnotes.git synced 2024-09-19 15:43:45 +02:00

fix types

This commit is contained in:
Lukas Winkler 2024-01-06 01:05:03 +01:00
parent eb6d84502a
commit 6db7e194ca
Signed by: lukas
GPG key ID: 54DE4D798D244853
2 changed files with 6 additions and 1 deletions

View file

@ -1,7 +1,7 @@
// @ts-ignore
import {default as Popover} from "bootstrap/js/src/popover";
import type {Popover as PopoverType} from "bootstrap";
import {PopoverResponse} from "../types/own";
const popoverTriggerList: NodeListOf<HTMLAnchorElement> = document.querySelectorAll('.content a')
const popoverList = [...popoverTriggerList].map(popoverTriggerEl => {

5
static/types/own.d.ts vendored Normal file
View file

@ -0,0 +1,5 @@
export interface PopoverResponse {
name: string;
description: string;
image?: string;
}