make base tsconfig ES2022. Fix basic errors

pull/5370/head
Joseph Izang 4 months ago committed by Aniket
parent 1d2e539ac9
commit 8450d76558
  1. 1
      apps/doc-gen/tsconfig.json
  2. 2
      libs/remix-debug/src/solidity-decoder/types/ArrayType.ts
  3. 2
      libs/remix-debug/src/solidity-decoder/types/StringType.ts
  4. 2
      libs/remix-ui/home-tab/src/lib/components/types/carouselTypes.ts
  5. 2
      tsconfig.base.json

@ -2,7 +2,6 @@
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"jsx": "react-jsx",
"target": "ES2022",
"lib": ["ES2015", "DOM", "ES2016", "ES2018"],
"allowJs": true,
"esModuleInterop": true,

@ -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) {

@ -2,7 +2,7 @@
import { DynamicByteArray } from './DynamicByteArray'
export class StringType extends DynamicByteArray {
typeName
// typeName
constructor (location) {
super(location)

@ -102,7 +102,7 @@ export default class Carousel extends React.Component<CarouselProps> {
previous: (slidesHavePassed: number) => void;
next: (slidesHavePassed: number) => void;
goToSlide: (slide: number, skipCallbacks?: SkipCallbackOptions) => void;
state: CarouselInternalState;
// declare state: CarouselInternalState;
setClones: (
slidesToShow: number,
itemWidth?: number,

@ -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"],

Loading…
Cancel
Save