Memperbarui @typescript-eslint/types dari 7.x ke 8.x
Perbandingan API publik @typescript-eslint/types 7.18.0 dan 8.73.0, dihitung otomatis dari tipe TypeScript-nya. Tanda tangan yang berubah adalah kemungkinan perubahan tidak kompatibel, bukan kepastian.
Ringkasan
| Jalur impor yang dihapus | 0 |
|---|---|
| Ekspor yang dihapus | 0 |
| Tanda tangan yang berubah | 3 |
| Anggota kelas atau antarmuka yang dihapus | 4 |
| Anggota kelas atau antarmuka yang berubah | 0 |
| Baru ditandai usang | 1 |
| Perubahan persyaratan (engines, dependensi peer) | 1 |
| Ekspor baru | 3 |
Ekspor yang dihapus
Tidak ada yang terdeteksi.
Tanda tangan yang berubah
| export | Sebelum | Sesudah |
|---|---|---|
@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 · DebugLevel | boolean | ("eslint" | "typescript-eslint" | "typescript")[] | boolean | ("eslint" | "typescript" | "typescript-eslint")[] |
@typescript-eslint/types · EcmaVersion | 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 | 2024 | 2025 | "latest" | undefined | 3 | 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 |
Anggota kelas atau antarmuka yang dihapus
| member | import | Sebelum |
|---|---|---|
ParserOptions.loc | @typescript-eslint/types | boolean | undefined |
ParserOptions.comment | @typescript-eslint/types | boolean | undefined |
ParserOptions.EXPERIMENTAL_useProjectService | @typescript-eslint/types | boolean | undefined |
ParserOptions.EXPERIMENTAL_useSourceOfProjectReferenceRedirect | @typescript-eslint/types | boolean | undefined |
Anggota kelas atau antarmuka yang berubah
Tidak ada yang terdeteksi.
Baru ditandai usang
| export | @deprecated |
|---|---|
@typescript-eslint/types · ParserOptions.warnOnUnsupportedTypeScriptVersion | Use {@link onUnsupportedTypeScriptVersion} instead. `true` is equivalent to `'warn'` and `false` is equivalent to `'ignore'`. |
Perubahan persyaratan (engines, dependensi peer)
| Sebelum | Sesudah | |
|---|---|---|
engines.node | ^18.18.0 || >=20.0.0 | — |
Ekspor baru (3)
| import | export | kind |
|---|---|---|
@typescript-eslint/types | NodeWithParent | type |
@typescript-eslint/types | SourceTypeClassic | type |
@typescript-eslint/types | ProjectServiceOptions | interface |
Berikan fakta ini ke agen AI Anda
Vigia adalah server MCP gratis: agen coding Anda memeriksa versi, perubahan yang merusak kompatibilitas, dan kerentanan sebelum menulis kode. Tanpa pendaftaran, tanpa kunci API.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Tambahkan ke CursorTambahkan ke VS Code★ Bintang di GitHub
Klien MCP lainnya
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Skill agen (SKILL.md): memberi tahu agen kapan memakai Vigia · GitHub Action untuk pull request
Pertanyaan umum
Apa saja perubahan tidak kompatibel saat memperbarui @typescript-eslint/types dari 7 ke 8?
Antara @typescript-eslint/types 7.18.0 dan 8.73.0, Vigia menemukan 0 ekspor yang dihapus, 3 tanda tangan yang berubah, dan 4 anggota kelas atau antarmuka yang dihapus atau berubah.
Apa yang ditandai usang di @typescript-eslint/types 8?
1 ekspor atau anggota baru ditandai usang di @typescript-eslint/types 8.73.0.
Untuk agen
GET https://vigia.coredls.cloud/v1/packages/npm/@typescript-eslint/types/upgrade?from=7.18.0&to=8.73.0