Skip to content

Instantly share code, notes, and snippets.

View kulak's full-sized avatar

Sergei Gnezdov kulak

View GitHub Profile
@kulak
kulak / react-table.d.ts
Last active September 6, 2018 21:26 — forked from geowarin/react-table.d.ts
works with TypeScript 3.0.1 and "react-table": "^6.8.6"
declare module 'react-table' {
type AccessorFunction = (row: object) => any
type Accessor = string | string[] | object | AccessorFunction
type Aggregator = (values: any, rows: any) => any
type TableCellRenderer = ((data: any, column: any) => React.ReactNode) | React.ReactNode
type FilterRender = (params: { column: Column, filter: any, onFilterChange: Function, key?: string }) => React.ReactElement<any>
type ComponentPropsGetter0 = (finalState: any, rowInfo: undefined, column: undefined, instance?: ReactTable) => object | undefined
type ComponentPropsGetterR = (finalState: any, rowInfo?: RowInfo, column?: undefined, instance?: ReactTable) => object | undefined
2/22/13 12:27:14.307 AM TextMate[1997]: setValue:forUndefinedKey: wrong type for excludePattern: ‘(null)’
2/22/13 12:27:14.322 AM TextMate[1997]: Exception detected while handling key input.
2/22/13 12:27:14.323 AM TextMate[1997]: Error setting value for key path excludePattern of object <NSAutounbinder: 0x7fe2390f9d60 - a nonretaining proxy for <ProjectsPreferences: 0x7fe239886560>> (from bound object <NSTextField: 0x7fe23a983440>): [<ProjectsPreferences 0x7fe239886560> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key excludePattern.
2/22/13 12:27:14.368 AM TextMate[1997]: (
0 CoreFoundation 0x00007fff982240a6 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff949713f0 objc_exception_throw + 43
2 CoreFoundation 0x00007fff98223ee8 +[NSException raise:format:arguments:] + 104
3 AppKit 0x00007fff9735314c -[NSBinder _setValue:forKeyPath:ofObject:mode:validateImmediately