mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Uncovered by dtslint 0.5.4, which now requires that definitions cannot be by "My Self", which is the default from dts-gen.
17 lines
696 B
TypeScript
17 lines
696 B
TypeScript
// Type definitions for react-blessed 0.3
|
|
// Project: https://github.com/yomguithereal/react-blessed#readme
|
|
// Definitions by: Century Guo <https://github.com/guoshencheng>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.8
|
|
|
|
import * as React from 'react';
|
|
import { Widgets, screen } from 'blessed';
|
|
export type Callback = () => void | null | undefined;
|
|
export type renderer = (
|
|
c: JSX.Element, s: Widgets.Screen, callback?: Callback,
|
|
) => React.Component<any, any> | null;
|
|
export function render(
|
|
c: JSX.Element, s: Widgets.Screen, callback?: Callback
|
|
): React.Component<any, any> | null;
|
|
export function createBlessedRenderer(bls: any): renderer;
|