UNPKG

@cosmology/ast

Version:
11 lines (10 loc) 390 B
import * as t from "@babel/types"; import { ProtoParseContext } from "../../context"; import { ProtoType } from "@cosmology/types"; export * from "./utils"; export declare const registerTypeUrlMethod: (args: { context: ProtoParseContext; name: string; proto: ProtoType; }) => t.ObjectMethod; export declare const createRegisterType: (typeName: string) => t.ExpressionStatement;