@cosmology/ast
Version:
Cosmos TypeScript AST generation
6 lines (5 loc) • 367 B
TypeScript
import * as t from '@babel/types';
import { ProtoParseContext } from '../../context';
import { ProtoType } from '@cosmology/types';
export declare const toProtoMsgMethod: (context: ProtoParseContext, name: string, proto: ProtoType) => t.ObjectMethod;
export declare const toProtoMethod: (context: ProtoParseContext, name: string, proto: ProtoType) => t.ObjectMethod;