Fix ts compiler error

pull/5370/head
ioedeveloper 3 years ago
parent 0538e05660
commit 928b0dd38e
  1. 3
      apps/remix-ide/src/app/tabs/compile-tab.js
  2. 2
      libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx
  3. 1
      libs/remix-ui/solidity-compiler/src/lib/types/index.ts

@ -1,7 +1,8 @@
/* global */
import React from 'react' // eslint-disable-line
import ReactDOM from 'react-dom'
import { SolidityCompiler, CompileTab as CompileTabLogic, compile, parseContracts } from '@remix-ui/solidity-compiler' // eslint-disable-line
import { SolidityCompiler, CompileTab as CompileTabLogic, parseContracts } from '@remix-ui/solidity-compiler' // eslint-disable-line
import { compile } from '@remix-project/remix-solidity'
import { ViewPlugin } from '@remixproject/engine-web'
import * as packageJson from '../../../../../package.json'

@ -2,7 +2,7 @@ import React, { useEffect, useState, useRef, useReducer } from 'react' // eslint
import semver from 'semver'
import { CompilerContainerProps, ConfigurationSettings } from './types'
import * as helper from '../../../../../apps/remix-ide/src/lib/helper'
import { canUseWorker, baseURLBin, baseURLWasm, urlFromVersion, pathToURL, promisedMiniXhr } from './logic/compiler-utils' // eslint-disable-line
import { canUseWorker, baseURLBin, baseURLWasm, urlFromVersion, pathToURL, promisedMiniXhr } from '../../../../remix-solidity/src/index'
import { compilerReducer, compilerInitialState } from './reducers/compiler'
import { resetEditorMode, listenToEvents } from './actions/compiler'

@ -1,4 +1,3 @@
export interface SolidityCompilerProps {
plugin: {
contractMap: {

Loading…
Cancel
Save