Skip to content

Conversation

@bunsenstraat
Copy link
Collaborator

The object returned by getCompilationResult is not of type CompilationResult but of type lastCompilationResult which contains CompilationResult as data

export interface lastCompilationResult {
    data: CompilationResult | null;
    source: SourceWithTarget | null | undefined;
} 

lastCompilationResult is what is being returned by getcompilationresult, not a compilationresult
return lastcompilationresult, not a compilationresult
@bunsenstraat bunsenstraat requested a review from yann300 December 16, 2020 09:17
@bunsenstraat bunsenstraat merged commit 6dbf881 into remix-project-org:master Dec 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants