@@ -2,18 +2,105 @@ declare module '@techknowlogick/license-checker-webpack-plugin' {
22 const plugin : any ;
33 export = plugin ;
44}
5+
56declare module 'eslint-plugin-no-use-extend-native' {
67 import type { Eslint } from 'eslint' ;
78 const plugin : Eslint . Plugin ;
89 export = plugin ;
910}
11+
1012declare module 'eslint-plugin-array-func' {
1113 import type { Eslint } from 'eslint' ;
1214 const plugin : Eslint . Plugin ;
1315 export = plugin ;
1416}
17+
1518declare module 'eslint-plugin-github' {
1619 import type { Eslint } from 'eslint' ;
1720 const plugin : Eslint . Plugin ;
1821 export = plugin ;
1922}
23+
24+ declare module '*.svg' {
25+ const value : string ;
26+ export default value ;
27+ }
28+
29+ declare module '*.css' {
30+ const value : string ;
31+ export default value ;
32+ }
33+
34+ declare module '*.vue' {
35+ import type { DefineComponent } from 'vue' ;
36+ const component : DefineComponent < unknown , unknown , any > ;
37+ export default component ;
38+ // Here we declare all exports from vue files so `tsc` or `tsgo` can work for
39+ // non-vue files. To lint .vue files, `vue-tsc` must be used.
40+ export function initDashboardRepoList ( ) : void ;
41+ export function initRepositoryActionView ( ) : void ;
42+ }
43+
44+ declare module 'htmx.org/dist/htmx.esm.js' {
45+ const value = await import ( 'htmx.org' ) ;
46+ export default value ;
47+ }
48+
49+ declare module 'swagger-ui-dist/swagger-ui-es-bundle.js' {
50+ const value = await import ( 'swagger-ui-dist' ) ;
51+ export default value . SwaggerUIBundle ;
52+ }
53+
54+ declare module 'asciinema-player' {
55+ interface AsciinemaPlayer {
56+ create ( src : string , element : HTMLElement , options ?: Record < string , unknown > ) : void ;
57+ }
58+ const exports : AsciinemaPlayer ;
59+ export = exports ;
60+ }
61+
62+ declare module '@citation-js/core' {
63+ export class Cite {
64+ constructor ( data : string ) ;
65+ format ( format : string , options ?: Record < string , any > ) : string ;
66+ }
67+ export const plugins : {
68+ config : {
69+ get ( name : string ) : any ;
70+ } ;
71+ } ;
72+ }
73+
74+ declare module '@citation-js/plugin-software-formats' { }
75+ declare module '@citation-js/plugin-bibtex' { }
76+ declare module '@citation-js/plugin-csl' { }
77+
78+ declare module 'vue-bar-graph' {
79+ import type { DefineComponent } from 'vue' ;
80+
81+ interface BarGraphPoint {
82+ value : number ;
83+ label : string ;
84+ }
85+
86+ export const VueBarGraph : DefineComponent < {
87+ points ?: Array < BarGraphPoint > ;
88+ barColor ?: string ;
89+ textColor ?: string ;
90+ textAltColor ?: string ;
91+ height ?: number ;
92+ labelHeight ?: number ;
93+ } > ;
94+ }
95+
96+ declare module '@mcaptcha/vanilla-glue' {
97+ export let INPUT_NAME : string ;
98+ export default class Widget {
99+ constructor ( options : {
100+ siteKey : {
101+ instanceUrl : URL ;
102+ key : string ;
103+ } ;
104+ } ) ;
105+ }
106+ }
0 commit comments