UNPKG

nihilqui

Version:

Typescript .d.ts generator from GIR for gjs and node-gtk

22 lines (17 loc) 751 B
import { TsType, TsDoc } from './index.js' /** * Holds the data to generate a variable in/for Typescript */ export interface TsVar { name: string | null type: TsType[] /** Temporary property, we will try later to resolve the conflicts correctly */ hasUnresolvedConflict?: boolean /** true if this function was injected using the `Injector`. This information is used in the `ConflictResolver` */ isInjected: boolean girTypeName: 'constant' | 'field' | 'property' /** Will be exported in Typescript as a `constant` or a `field` of a `class` */ tsTypeName: 'constant' | 'static-property' | 'property' | 'constructor-property' /** Typescript data to generate documentations in TSDoc style */ doc: TsDoc }