Un-nest the interface to fix the doc rendering

This commit is contained in:
Fabio Berger
2018-09-28 18:59:28 +01:00
parent a737cfa004
commit c7e26cd448
2 changed files with 8 additions and 5 deletions

View File

@@ -366,11 +366,7 @@ export type ErrorType =
export type ErrorSeverity = 'error' | 'warning';
export interface SolcError {
sourceLocation?: {
file: string;
start: number;
end: number;
};
sourceLocation?: SourceLocation;
type: ErrorType;
component: 'general' | 'ewasm';
severity: ErrorSeverity;
@@ -378,6 +374,12 @@ export interface SolcError {
formattedMessage?: string;
}
export interface SourceLocation {
file: string;
start: number;
end: number;
}
export interface EvmOutput {
bytecode: EvmBytecodeOutput;
deployedBytecode: EvmBytecodeOutput;

View File

@@ -25,4 +25,5 @@ export {
StandardContractOutput,
StandardOutput,
StateMutability,
SourceLocation,
} from 'ethereum-types';