parent
3bd6e7f82b
commit
0ea0da6da3
@ -0,0 +1,37 @@ |
|||||||
|
import { CompilationResult, SourceWithTarget } from '@remixproject/plugin-api' |
||||||
|
|
||||||
|
import { ViewPlugin } from '@remixproject/engine-web'; |
||||||
|
import { EventEmitter } from 'events'; |
||||||
|
import Registry from '../state/registry'; |
||||||
|
export declare class AnalysisTab extends ViewPlugin { |
||||||
|
event: any; |
||||||
|
events: EventEmitter; |
||||||
|
registry: Registry; |
||||||
|
element: HTMLDivElement; |
||||||
|
_components: any; |
||||||
|
_deps: { |
||||||
|
offsetToLineColumnConverter: any; |
||||||
|
}; |
||||||
|
dispatch: any; |
||||||
|
constructor(); |
||||||
|
onActivation(): Promise<void>; |
||||||
|
setDispatch(dispatch: any): void; |
||||||
|
render(): JSX.Element; |
||||||
|
updateComponent(state: any): JSX.Element; |
||||||
|
renderComponent(): void; |
||||||
|
} |
||||||
|
|
||||||
|
type RemixUiStaticAnalyserState = { |
||||||
|
file: string, |
||||||
|
source: SourceWithTarget, |
||||||
|
languageVersion: string, |
||||||
|
data: CompilationResult |
||||||
|
input?: string |
||||||
|
version?: string |
||||||
|
} |
||||||
|
|
||||||
|
type RemixUiStaticAnalyserReducerActionType = { |
||||||
|
type: 'compilationFinished' | '' | any, |
||||||
|
payload: RemixUiStaticAnalyserState |
||||||
|
} |
||||||
|
|
Loading…
Reference in new issue