frontend/.pnpm-store/v3/files/34/e0bcf1f39efc1e088b3d9009ca3aec62cd212e16823427483dc95f7c396cf362977018b8614607e24cc1e729a3dced63bde884d63e53c5621e8af396b4c448

15 lines
426 B
Plaintext

import { Component } from 'preact';
import { Config } from '../config';
export interface BaseProps {}
export declare abstract class BaseComponent<
P extends BaseProps = {},
S = {}
> extends Component<P, S> {
protected config: Config;
protected _: (message: string, ...args: any[]) => string;
constructor(props: P, context: any);
}
export interface BaseComponent<P> {
new (props: P, context?: any): Component<P>;
}