TODO/FIXME

This commit is contained in:
John Livingston 2024-04-03 16:00:28 +02:00
parent 3dcc05bf26
commit 2672290367
No known key found for this signature in database
GPG Key ID: B17B5640CE66CDBC

View File

@ -2,19 +2,8 @@ import type { RegisterClientOptions } from '@peertube/peertube-types/client'
import type { InitConverseJSParams, ChatPeertubeIncludeMode } from 'shared/lib/types'
import { computeAutoColors } from './colors'
import { getBaseRoute } from './uri'
// FIXME
// declare global {
// interface Window {
// converse?: {
// initialize: (args: any) => void
// plugins: {
// add: (name: string, plugin: any) => void
// }
// }
// }
// }
// FIXME: better declaration
// FIXME: better declaration (see builtin.ts)
declare global {
interface Window {
converse?: any
@ -25,7 +14,6 @@ declare global {
/**
* load the ConverseJS CSS.
* TODO: always load them using plugin's package.json?
* @param url CSS url
*/
async function loadCSS (url: string): Promise<void> {