-
-
Notifications
You must be signed in to change notification settings - Fork 61
/
types.d.ts
33 lines (28 loc) · 847 Bytes
/
types.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
declare module '*.json'
declare module 'tinydate' {
type Tinydate = (template: string) => (date?: Date) => string
const tinydate: Tinydate
export = tinydate
}
declare module '@rollup/plugin-babel' {
import { createConfigItem } from '@babel/core'
const createBabelInputPluginFactory: (
callback: (babelCore: { createConfigItem: typeof createConfigItem }) => any
) => any
export { createBabelInputPluginFactory }
}
declare module 'babel-plugin-alter-object-assign'
declare module 'text-table' {
interface Options {
stringLength?(str: string): number
}
type Table = (rows: Array<Array<string>>, opts?: Options) => string
const table: Table
export = table
}
declare module 'resolve'
declare module 'stringify-author' {
type Stringify = (author: any) => string
const stringify: Stringify
export = stringify
}