1 | declare module 'connect' {
|
2 | const connect: () => any
|
3 | export = connect
|
4 | }
|
5 |
|
6 | declare module 'cors' {
|
7 | function cors(options: any): any
|
8 | export = cors
|
9 | }
|
10 |
|
11 | declare module 'selfsigned' {
|
12 | export function generate(attrs: any, options: any, done?: any): any
|
13 | }
|
14 |
|
15 | declare module 'http-proxy' {
|
16 | const proxy: any
|
17 | export = proxy
|
18 | }
|
19 |
|
20 | declare module 'acorn-class-fields' {
|
21 | const plugin: any
|
22 | export = plugin
|
23 | }
|
24 |
|
25 | declare module 'acorn-static-class-features' {
|
26 | const plugin: any
|
27 | export default plugin
|
28 | }
|
29 |
|
30 | declare module 'acorn-numeric-separator' {
|
31 | const plugin: any
|
32 | export default plugin
|
33 | }
|
34 |
|
35 | declare module 'connect-history-api-fallback' {
|
36 | const plugin: any
|
37 | export = plugin
|
38 | }
|
39 |
|
40 | declare module 'launch-editor-middleware' {
|
41 | const plugin: any
|
42 | export = plugin
|
43 | }
|
44 |
|
45 | declare module 'merge-source-map' {
|
46 | export default function merge(oldMap: object, newMap: object): object
|
47 | }
|
48 |
|
49 | declare module 'postcss-load-config' {
|
50 | import { ProcessOptions, Plugin } from 'postcss'
|
51 | function load(
|
52 | inline: any,
|
53 | root: string
|
54 | ): Promise<{
|
55 | options: ProcessOptions
|
56 | plugins: Plugin[]
|
57 | }>
|
58 | export = load
|
59 | }
|
60 |
|
61 | declare module 'postcss-import' {
|
62 | import { Plugin } from 'postcss'
|
63 | const plugin: (options: {
|
64 | resolve: (
|
65 | id: string,
|
66 | basedir: string,
|
67 | importOptions: any
|
68 | ) => string | string[] | Promise<string | string[]>
|
69 | }) => Plugin
|
70 | export = plugin
|
71 | }
|
72 |
|
73 | declare module 'postcss-modules' {
|
74 | import { Plugin } from 'postcss'
|
75 | const plugin: (options: any) => Plugin
|
76 | export = plugin
|
77 | }
|
78 |
|
79 | declare module '@rollup/plugin-dynamic-import-vars' {
|
80 | import { Plugin } from 'rollup'
|
81 |
|
82 | interface Options {
|
83 | include?: string | RegExp | (string | RegExp)[]
|
84 | exclude?: string | RegExp | (string | RegExp)[]
|
85 | warnOnError?: boolean
|
86 | }
|
87 |
|
88 | const p: (o?: Options) => Plugin
|
89 | export default p
|
90 | }
|
91 |
|
92 | declare module 'rollup-plugin-web-worker-loader' {
|
93 | import { Plugin } from 'rollup'
|
94 |
|
95 | interface Options {
|
96 | targetPlatform?: string
|
97 | pattern?: RegExp
|
98 | extensions?: string[]
|
99 | sourcemap?: boolean
|
100 | inline?: boolean
|
101 | }
|
102 |
|
103 | const p: (o?: Options) => Plugin
|
104 | export default p
|
105 | }
|
106 |
|
107 | declare module 'minimatch' {
|
108 | function match(path: string, pattern: string): boolean
|
109 | export default match
|
110 | }
|
111 |
|
112 | declare module 'compression' {
|
113 | function compression(): any
|
114 | export default compression
|
115 | }
|
116 |
|
117 | // LESS' types somewhat references this which doesn't make sense in Node,
|
118 | // so we have to shim it
|
119 | declare interface HTMLLinkElement {}
|