UNPKG

brick-module

Version:

Better React Native native module development

31 lines (29 loc) 865 B
import { BrickModule, BrickModuleInterface, BrickModuleSpec } from "./BrickModule.js"; //#region src/index.d.ts /** * Error types for Brick modules */ declare class BrickModuleError extends Error { code: string; moduleName?: string | undefined; methodName?: string | undefined; constructor(message: string, code?: string, moduleName?: string | undefined, methodName?: string | undefined); } /** * Configuration interface for brick-codegen */ interface BrickCodegenConfig { outputIos?: string; outputAndroid?: string; cacheDir?: string; incremental?: boolean; watch?: boolean; excludeModules?: string[]; typeCheck?: boolean; verbose?: boolean; newArchOnly?: boolean; oldArchOnly?: boolean; dev?: boolean; } //#endregion export { BrickCodegenConfig, BrickModule, BrickModuleError, type BrickModuleInterface, type BrickModuleSpec };