Vigia

Nâng cấp @typescript-eslint/types từ 7.x lên 8.x

So sánh API công khai của @typescript-eslint/types 7.18.0 và 8.71.0, được tính tự động từ kiểu TypeScript. Chữ ký thay đổi là thay đổi có thể không tương thích, không phải điều chắc chắn.

Tóm tắt

Đường dẫn import bị xóa0
Export bị xóa0
Chữ ký thay đổi3
Thành viên lớp hoặc interface bị xóa4
Thành viên lớp hoặc interface thay đổi0
Mới bị ngừng hỗ trợ1
Thay đổi yêu cầu (engines, phụ thuộc peer)1
Export mới3

Export bị xóa

Không phát hiện.

Chữ ký thay đổi

exportTrướcSau
@typescript-eslint/types · Lib"es5" | "es6" | "es2015" | "es7" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "es2023" | "esnext" | "dom" | "dom.iterable" | "dom.asynciterable" | "webworker" | "webworker.importscripts" | "webworker.iterable" | "webworker.asynciterable" | "scripthost" | "es2015.core" | "es2015.collection" | "es2015.generator" | "es2015.iterable" | "es2015.promise" | "es2015.proxy" | "es2015.reflect" | "es2015.symbol" | "es2015.symbol.wellknown" | "es2016.array.include" | "es2016.intl" | "es2017.date" | "es2017.object" | "es2017.sharedmemory" | "es2017.string" | "es2017.intl" …"decorators" | "decorators.legacy" | "dom" | "dom.asynciterable" | "dom.iterable" | "es5" | "es6" | "es7" | "es2015" | "es2015.collection" | "es2015.core" | "es2015.generator" | "es2015.iterable" | "es2015.promise" | "es2015.proxy" | "es2015.reflect" | "es2015.symbol" | "es2015.symbol.wellknown" | "es2016" | "es2016.array.include" | "es2016.full" | "es2016.intl" | "es2017" | "es2017.arraybuffer" | "es2017.date" | "es2017.full" | "es2017.intl" | "es2017.object" | "es2017.sharedmemory" | "es2017.string" | "es2017.typedarrays" | "es2018" | "es2018.asyncgenerator" | "es2018.asynciterable" | "es201…
@typescript-eslint/types · DebugLevelboolean | ("eslint" | "typescript-eslint" | "typescript")[]boolean | ("eslint" | "typescript" | "typescript-eslint")[]
@typescript-eslint/types · EcmaVersion3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 | 2024 | 2025 | "latest" | undefined3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 | 2024 | 2025 | 2026 | "latest" | undefined

Thành viên lớp hoặc interface bị xóa

memberimportTrước
ParserOptions.loc@typescript-eslint/typesboolean | undefined
ParserOptions.comment@typescript-eslint/typesboolean | undefined
ParserOptions.EXPERIMENTAL_useProjectService@typescript-eslint/typesboolean | undefined
ParserOptions.EXPERIMENTAL_useSourceOfProjectReferenceRedirect@typescript-eslint/typesboolean | undefined

Thành viên lớp hoặc interface thay đổi

Không phát hiện.

Mới bị ngừng hỗ trợ

export@deprecated
@typescript-eslint/types · ParserOptions.warnOnUnsupportedTypeScriptVersionUse {@link onUnsupportedTypeScriptVersion} instead. `true` is equivalent to `'warn'` and `false` is equivalent to `'ignore'`.

Thay đổi yêu cầu (engines, phụ thuộc peer)

TrướcSau
engines.node^18.18.0 || >=20.0.0^18.18.0 || ^20.9.0 || >=21.1.0
Export mới (3)
importexportkind
@typescript-eslint/typesNodeWithParenttype
@typescript-eslint/typesSourceTypeClassictype
@typescript-eslint/typesProjectServiceOptionsinterface

Câu hỏi thường gặp

Nâng cấp @typescript-eslint/types từ 7 lên 8 có những thay đổi không tương thích nào?

Giữa @typescript-eslint/types 7.18.0 và 8.71.0, Vigia tìm thấy 0 export bị xóa, 3 chữ ký thay đổi và 4 thành viên lớp hoặc interface bị xóa hay thay đổi.

Những gì bị ngừng hỗ trợ trong @typescript-eslint/types 8?

1 export hoặc thành viên mới bị đánh dấu ngừng hỗ trợ trong @typescript-eslint/types 8.71.0.

Dành cho tác tử

GET https://vigia.coredls.cloud/v1/packages/npm/@typescript-eslint/types/upgrade?from=7.18.0&to=8.71.0