mirror of
https://github.com/Findus23/RPGnotes.git
synced 2024-09-19 15:43:45 +02:00
fix types
This commit is contained in:
parent
eb6d84502a
commit
6db7e194ca
2 changed files with 6 additions and 1 deletions
|
@ -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
5
static/types/own.d.ts
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
export interface PopoverResponse {
|
||||
name: string;
|
||||
description: string;
|
||||
image?: string;
|
||||
}
|
Loading…
Reference in a new issue