parent
5661717ce6
commit
510ff6163c
@ -1,6 +1,6 @@ |
||||
export { Compiler } from './compiler/compiler' |
||||
export { compile } from './compiler/compiler-helpers' |
||||
export { default as CompilerInput } from './compiler/compiler-input' |
||||
export { default as CompilerInput, getValidLanguage } from './compiler/compiler-input' |
||||
export { CompilerAbstract } from './compiler/compiler-abstract' |
||||
export * from './compiler/types' |
||||
export { promisedMiniXhr, pathToURL, baseURLBin, baseURLWasm, canUseWorker, urlFromVersion } from './compiler/compiler-utils' |
||||
|
@ -1,10 +1,10 @@ |
||||
'use strict' |
||||
import tape from 'tape' |
||||
import { getValidLanguage } from "../src/helpers/compilerHelper"; |
||||
import { Language } from "@remix-project/remix-solidity-ts"; |
||||
import { getValidLanguage } from "../src/compiler/compiler-input"; |
||||
import { Language } from "../src/compiler/types"; |
||||
|
||||
tape('compilerHelper', function (t) { |
||||
t.test('lowerbound', function (st) { |
||||
tape('compiler-input', function (t) { |
||||
t.test('getValidLanguage', function (st) { |
||||
st.plan(9) |
||||
|
||||
const correctYul: Language = 'Yul'; |
@ -1,7 +1,8 @@ |
||||
{ |
||||
"extends": "../../tsconfig.base.json", |
||||
"compilerOptions": { |
||||
"types": ["node"] |
||||
"types": ["node"], |
||||
"esModuleInterop": true |
||||
}, |
||||
"include": ["**/*.ts"] |
||||
} |
Loading…
Reference in new issue