Un-nest the interface to fix the doc rendering
This commit is contained in:
@@ -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;
|
||||
|
@@ -25,4 +25,5 @@ export {
|
||||
StandardContractOutput,
|
||||
StandardOutput,
|
||||
StateMutability,
|
||||
SourceLocation,
|
||||
} from 'ethereum-types';
|
||||
|
Reference in New Issue
Block a user