Files
learnk8s.io/types/markdown-table.d.ts
2019-11-08 14:52:47 +08:00

21 lines
531 B
TypeScript

declare module '~markdown-table/index' {
import { Node } from 'unist'
export default function renderTable(
table: string[][],
options?: Partial<{
align: null | 'left' | 'right' | 'center' | '.' | Array<'left' | 'right' | 'center' | '.' | null>
delimiter: string
start: string
end: string
rule: string
stringLength: (value: any) => number
pad: boolean
}>,
): string
}
declare module 'markdown-table' {
import alias = require('~markdown-table/index')
export = alias
}