nitro-codegen
Version:
The code-generator for react-native-nitro-modules.
14 lines (13 loc) • 510 B
TypeScript
import type { Language } from '../../getPlatformSpecs.js';
import { type SourceFile, type SourceImport } from '../SourceFile.js';
import type { Type, TypeKind } from './Type.js';
export declare class ResultWrappingType implements Type {
readonly result: Type;
readonly error: Type;
constructor(result: Type);
get canBePassedByReference(): boolean;
get kind(): TypeKind;
getCode(language: Language): string;
getExtraFiles(): SourceFile[];
getRequiredImports(): SourceImport[];
}