UNPKG

ts-gir

Version:
16 lines (15 loc) 587 B
import BabelParserGenerator, { InjectPath } from 'babel-parser-generator'; import { ParserOptions } from '@babel/parser'; import { Renamed, Namespace } from './types'; export default class GirTSGenerator extends BabelParserGenerator { $namespace: Namespace; renamed: Renamed; constructor($namespace: Namespace, renamed: Renamed); options: ParserOptions; build(): void; buildFunctions(path?: InjectPath): void; buildClasses(path?: InjectPath): void; buildPropertyDeclarations(properties: { [key: string]: string; }, path?: InjectPath): void; }