11declare module '@custom-elements-manifest/to-markdown' {
22 import type { AnalyzePhaseParams } from '@custom-elements-manifest/analyzer' ;
3- export type Options = {
3+
4+ export interface Options {
45 private : 'all' | 'details' | 'hidden' ;
56 headingOffset : number ;
67 classNameFilter : string ;
78 omitSections : string [ ] ;
89 omitDeclarations : string [ ] ;
9- } ;
10+ }
1011 type ModuleDoc = AnalyzePhaseParams [ 'moduleDoc' ] ;
1112 export function customElementsManifestToMarkdown (
1213 manifest : { modules : ModuleDoc [ ] } ,
13- options ?: Partial < Options >
14+ options ?: Partial < Options > ,
1415 ) : string ;
1516}
1617
@@ -20,12 +21,13 @@ declare module '@custom-elements-manifest/analyzer/browser/index.js' {
2021 const create : ( options : { modules : any [ ] ; plugins : Plugin [ ] ; context : { dev : boolean } } ) => any ;
2122 const ts : typeof import ( 'typescript' ) ;
2223 const litPlugin : ( ) => Plugin [ ] ;
23- export { create , ts , litPlugin } ;
24+ export { create , litPlugin , ts } ;
2425}
2526
2627declare module 'esbuild-copy-static-files' {
2728 import type { Plugin } from 'esbuild' ;
28- export type CopyStaticFilesOptions = {
29+
30+ export interface CopyStaticFilesOptions {
2931 src : string ;
3032 dest : string ;
3133 filter : ( src : string , dest : string ) => boolean ;
@@ -35,7 +37,7 @@ declare module 'esbuild-copy-static-files' {
3537 force : boolean ;
3638 preserveTimestamps : boolean ;
3739 recursive : boolean ;
38- } ;
40+ }
3941 const copyStaticFiles : ( options ?: Partial < CopyStaticFilesOptions > ) => Plugin ;
4042 export default copyStaticFiles ;
4143}
0 commit comments