@neo-one/smart-contract-compiler
Version:
NEO•ONE TypeScript smart contract compiler.
7 lines (6 loc) • 510 B
TypeScript
import ts from 'typescript';
import { LinkedContracts } from './compile/types';
import { CompileContractResult } from './compileContract';
import { CompilerHost } from './types';
export declare const getSemanticDiagnostics: (filePath: string, languageService: ts.LanguageService, host: CompilerHost) => ReadonlyArray<ts.Diagnostic>;
export declare const compileContract: (filePath: string, contractName: string, host: CompilerHost, linked?: LinkedContracts, ignoreWarnings?: boolean) => CompileContractResult;