UNPKG

nitro-codegen

Version:

The code-generator for react-native-nitro-modules.

14 lines (13 loc) 522 B
import type { Language } from '../../getPlatformSpecs.js'; import { type SourceFile, type SourceImport } from '../SourceFile.js'; import type { Type, TypeKind } from './Type.js'; export declare class OptionalType implements Type { readonly wrappingType: Type; constructor(wrappingType: Type); get canBePassedByReference(): boolean; get kind(): TypeKind; get needsBraces(): boolean; getCode(language: Language): string; getExtraFiles(): SourceFile[]; getRequiredImports(): SourceImport[]; }