UNPKG

@neo-one/smart-contract-compiler

Version:

NEO•ONE TypeScript smart contract compiler.

15 lines (14 loc) 570 B
import ts from 'typescript'; import { ScriptBuilder } from '../../sb'; import { VisitOptions } from '../../types'; import { Helper } from '../Helper'; export interface HandleSendHelperOptions { readonly method: ts.MethodDeclaration | ts.PropertyDeclaration; readonly returnType: ts.Type | undefined; } export declare class HandleSendHelper extends Helper { private readonly method; private readonly returnType; constructor({ method, returnType }: HandleSendHelperOptions); emit(sb: ScriptBuilder, node: ts.Node, optionsIn: VisitOptions): void; }