UNPKG

symref

Version:

Static code checker for AI code agents (Windsurf, Cline, etc.)

28 lines 1.07 kB
import React, { Component, PureComponent } from 'react'; declare class BasicClassComponent extends React.Component { render(): import("react/jsx-runtime").JSX.Element; } declare class PureClassComponent extends React.PureComponent { render(): import("react/jsx-runtime").JSX.Element; } declare class ShorthandComponent extends Component { render(): import("react/jsx-runtime").JSX.Element; } declare class ShorthandPureComponent extends PureComponent { render(): import("react/jsx-runtime").JSX.Element; } interface TypedProps { name: string; } interface TypedState { count: number; } declare class TypedClassComponent extends React.Component<TypedProps, TypedState> { constructor(props: TypedProps); render(): import("react/jsx-runtime").JSX.Element; } declare class RenderOnlyClass { render(): import("react/jsx-runtime").JSX.Element; } export { BasicClassComponent, PureClassComponent, ShorthandComponent, ShorthandPureComponent, TypedClassComponent, RenderOnlyClass }; //# sourceMappingURL=ClassComponentPatterns.test.d.ts.map