mirror of
https://github.com/learnk8s/learnk8s.io.git
synced 2026-07-11 00:19:17 +00:00
21 lines
531 B
TypeScript
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
|
|
}
|