Explorar el Código

fix option types for columnHeader*

Adam Shaw hace 8 años
padre
commit
c3164fab8e
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      src/types/input-types.ts

+ 4 - 1
src/types/input-types.ts

@@ -168,7 +168,10 @@ export interface OptionsInputBase {
   dayCount?: number
   locale?: string
   timeFormat?: string
-  columnFormat?: string
+  columnHeader?: boolean
+  columnHeaderFormat?: string
+  columnHeaderText?: string | ((date: MomentInput) => string)
+  columnHeaderHtml?: string | ((date: MomentInput) => string)
   titleFormat?: string
   monthNames?: string[]
   monthNamesShort?: string[]