-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdeclarations.d.ts
76 lines (73 loc) · 2 KB
/
declarations.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
// -*- coding: utf-8 -*-
/*
NOTE: We have to avoid importing this from "clientnode/type" to avoid a
dependency cycle.
*/
type Mapping<T = string> = Record<string, T>
interface PostcssTransformer {
postcssPlugin: string
postcssVersion: string
(root: object, result: object): Promise<void> | void
}
/** @module declarations */
declare module '@eslint/eslintrc'
declare module '@eslint/js'
declare module '@typescript-eslint/parser'
declare module 'babel-preset-minify'
declare module 'eslint-config-google'
declare module 'glob-all' {
export default function(globs: Array<string>): Promise<Array<string>>
export function sync(globs: Array<string>): Array<string>
}
declare module 'html-loader'
declare module 'postcss-fontpath' {
export default function(options: Partial<{
checkPath: boolean
formats: Array<{
ext: string
type: string
}>
}>): PostcssTransformer
}
declare module 'postcss-sprites' {
export default function(options: Partial<{
filterBy: () => Promise<void>
hooks: {
onSaveSpritesheet: (image: Mapping<unknown>) => string
onUpdateRule: (
rule: PostcssNode, token: PostcssNode, image: Mapping<unknown>
) => void
}
spritePath: string
stylesheetPath: null | string
verbose: boolean
}>): PostcssTransformer
}
declare module 'svgo' {
export type Options = unknown
}
declare module 'webOptimizerDefaultTemplateFilePath'
declare module '*.module' {
const classes: Mapping
export default classes
}
declare module '*.module.css' {
const classes: Mapping
export default classes
}
declare module '*.module.scss' {
const classes: Mapping
export default classes
}
declare module '*.module.sass' {
const classes: Mapping
export default classes
}
declare module '*.module.less' {
const classes: Mapping
export default classes
}
declare module '*.module.styl' {
const classes: Mapping
export default classes
}