diff --git a/apps/doc-gen/tsconfig.json b/apps/doc-gen/tsconfig.json index d71f144b0b..66573bc0de 100644 --- a/apps/doc-gen/tsconfig.json +++ b/apps/doc-gen/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.base.json", "compilerOptions": { "jsx": "react-jsx", - "target": "ES2022", "lib": ["ES2015", "DOM", "ES2016", "ES2018"], "allowJs": true, "esModuleInterop": true, diff --git a/libs/remix-debug/src/solidity-decoder/types/ArrayType.ts b/libs/remix-debug/src/solidity-decoder/types/ArrayType.ts index 29f98ab736..992ca03c1c 100644 --- a/libs/remix-debug/src/solidity-decoder/types/ArrayType.ts +++ b/libs/remix-debug/src/solidity-decoder/types/ArrayType.ts @@ -5,7 +5,7 @@ import { RefType } from './RefType' const sha3256 = util.sha3_256 export class ArrayType extends RefType { - underlyingType + // declare underlyingType arraySize constructor (underlyingType, arraySize, location) { diff --git a/libs/remix-debug/src/solidity-decoder/types/StringType.ts b/libs/remix-debug/src/solidity-decoder/types/StringType.ts index 84c6483e8e..f00c6fd4ec 100644 --- a/libs/remix-debug/src/solidity-decoder/types/StringType.ts +++ b/libs/remix-debug/src/solidity-decoder/types/StringType.ts @@ -2,7 +2,7 @@ import { DynamicByteArray } from './DynamicByteArray' export class StringType extends DynamicByteArray { - typeName + // typeName constructor (location) { super(location) diff --git a/libs/remix-ui/home-tab/src/lib/components/types/carouselTypes.ts b/libs/remix-ui/home-tab/src/lib/components/types/carouselTypes.ts index 11b656db0b..598d9a9668 100644 --- a/libs/remix-ui/home-tab/src/lib/components/types/carouselTypes.ts +++ b/libs/remix-ui/home-tab/src/lib/components/types/carouselTypes.ts @@ -102,7 +102,7 @@ export default class Carousel extends React.Component { previous: (slidesHavePassed: number) => void; next: (slidesHavePassed: number) => void; goToSlide: (slide: number, skipCallbacks?: SkipCallbackOptions) => void; - state: CarouselInternalState; + // declare state: CarouselInternalState; setClones: ( slidesToShow: number, itemWidth?: number, diff --git a/tsconfig.base.json b/tsconfig.base.json index 4948920428..a9630ce5e6 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -16,7 +16,7 @@ "allowSyntheticDefaultImports": true, "esModuleInterop": true, "importHelpers": true, - "target": "ES2015", + "target": "ES2022", "module": "ES2020", "typeRoots": ["node_modules/@types", "libs/**/*.d.ts"], "lib": ["es2017", "es2019", "dom", "dom.iterable"],