From 65244f9de04204ad6ea0045b93050efcbb78ea92 Mon Sep 17 00:00:00 2001 From: Bharat Middha <5100938+bmiddha@users.noreply.github.com> Date: Mon, 17 Aug 2026 20:24:44 -0700 Subject: [PATCH 1/3] build!: target ES2022 for Node packages Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8ebd5bf2-c44b-42d5-be25-e7936d4b0a14 --- .../es2022-compiler-baseline_2026-08-18-03-14-04.json | 9 +++++++++ .../es2022-compiler-baseline_2026-08-18-03-14-04.json | 9 +++++++++ .../es2022-compiler-baseline_2026-08-18-03-14-04.json | 9 +++++++++ .../es2022-compiler-baseline_2026-08-18-03-14-04.json | 9 +++++++++ .../es2022-compiler-baseline_2026-08-18-03-14-04.json | 9 +++++++++ .../es2022-compiler-baseline_2026-08-18-03-14-04.json | 9 +++++++++ .../es2022-compiler-baseline_2026-08-18-03-14-04.json | 9 +++++++++ .../es2022-compiler-baseline_2026-08-18-03-14-04.json | 9 +++++++++ .../es2022-compiler-baseline_2026-08-18-03-14-04.json | 9 +++++++++ .../es2022-compiler-baseline_2026-08-18-03-14-04.json | 9 +++++++++ .../es2022-compiler-baseline_2026-08-18-03-14-04.json | 9 +++++++++ .../es2022-compiler-baseline_2026-08-18-03-14-04.json | 9 +++++++++ eslint/eslint-plugin/tsconfig.json | 6 +----- heft-plugins/heft-jest-plugin/tsconfig.json | 7 +------ heft-plugins/heft-typescript-plugin/tsconfig.json | 7 +------ libraries/localization-utilities/tsconfig.json | 5 +---- libraries/lookup-by-path/tsconfig.json | 6 +----- libraries/module-minifier/tsconfig.json | 3 +-- libraries/operation-graph/tsconfig.json | 5 +---- libraries/rush-daemon/tsconfig.json | 7 +------ libraries/rush-lib/src/cli/actions/BaseRushAction.ts | 2 +- libraries/ts-command-line/tsconfig.json | 7 +------ libraries/worker-pool/tsconfig.json | 6 +----- .../profiles/default/tsconfig-base.json | 3 ++- rigs/local-node-rig/profiles/default/tsconfig-base.json | 3 ++- webpack/webpack5-localization-plugin/tsconfig.json | 5 +---- 26 files changed, 124 insertions(+), 56 deletions(-) create mode 100644 common/changes/@microsoft/rush/es2022-compiler-baseline_2026-08-18-03-14-04.json create mode 100644 common/changes/@rushstack/eslint-plugin/es2022-compiler-baseline_2026-08-18-03-14-04.json create mode 100644 common/changes/@rushstack/heft-jest-plugin/es2022-compiler-baseline_2026-08-18-03-14-04.json create mode 100644 common/changes/@rushstack/heft-typescript-plugin/es2022-compiler-baseline_2026-08-18-03-14-04.json create mode 100644 common/changes/@rushstack/localization-utilities/es2022-compiler-baseline_2026-08-18-03-14-04.json create mode 100644 common/changes/@rushstack/lookup-by-path/es2022-compiler-baseline_2026-08-18-03-14-04.json create mode 100644 common/changes/@rushstack/module-minifier/es2022-compiler-baseline_2026-08-18-03-14-04.json create mode 100644 common/changes/@rushstack/operation-graph/es2022-compiler-baseline_2026-08-18-03-14-04.json create mode 100644 common/changes/@rushstack/rush-daemon/es2022-compiler-baseline_2026-08-18-03-14-04.json create mode 100644 common/changes/@rushstack/ts-command-line/es2022-compiler-baseline_2026-08-18-03-14-04.json create mode 100644 common/changes/@rushstack/webpack5-localization-plugin/es2022-compiler-baseline_2026-08-18-03-14-04.json create mode 100644 common/changes/@rushstack/worker-pool/es2022-compiler-baseline_2026-08-18-03-14-04.json diff --git a/common/changes/@microsoft/rush/es2022-compiler-baseline_2026-08-18-03-14-04.json b/common/changes/@microsoft/rush/es2022-compiler-baseline_2026-08-18-03-14-04.json new file mode 100644 index 00000000000..00311c9f9d9 --- /dev/null +++ b/common/changes/@microsoft/rush/es2022-compiler-baseline_2026-08-18-03-14-04.json @@ -0,0 +1,9 @@ +{ + "changes": [ + { + "packageName": "@microsoft/rush", + "comment": "Update class field declarations for ES2022 emit semantics.", + "type": "none" + } + ] +} diff --git a/common/changes/@rushstack/eslint-plugin/es2022-compiler-baseline_2026-08-18-03-14-04.json b/common/changes/@rushstack/eslint-plugin/es2022-compiler-baseline_2026-08-18-03-14-04.json new file mode 100644 index 00000000000..4b3732ad8fc --- /dev/null +++ b/common/changes/@rushstack/eslint-plugin/es2022-compiler-baseline_2026-08-18-03-14-04.json @@ -0,0 +1,9 @@ +{ + "changes": [ + { + "packageName": "@rushstack/eslint-plugin", + "comment": "Compile package output for ES2022.", + "type": "patch" + } + ] +} diff --git a/common/changes/@rushstack/heft-jest-plugin/es2022-compiler-baseline_2026-08-18-03-14-04.json b/common/changes/@rushstack/heft-jest-plugin/es2022-compiler-baseline_2026-08-18-03-14-04.json new file mode 100644 index 00000000000..63e127dea14 --- /dev/null +++ b/common/changes/@rushstack/heft-jest-plugin/es2022-compiler-baseline_2026-08-18-03-14-04.json @@ -0,0 +1,9 @@ +{ + "changes": [ + { + "packageName": "@rushstack/heft-jest-plugin", + "comment": "Compile package output for ES2022.", + "type": "patch" + } + ] +} diff --git a/common/changes/@rushstack/heft-typescript-plugin/es2022-compiler-baseline_2026-08-18-03-14-04.json b/common/changes/@rushstack/heft-typescript-plugin/es2022-compiler-baseline_2026-08-18-03-14-04.json new file mode 100644 index 00000000000..76d9faefedf --- /dev/null +++ b/common/changes/@rushstack/heft-typescript-plugin/es2022-compiler-baseline_2026-08-18-03-14-04.json @@ -0,0 +1,9 @@ +{ + "changes": [ + { + "packageName": "@rushstack/heft-typescript-plugin", + "comment": "Use ES2022 library definitions during TypeScript compilation.", + "type": "patch" + } + ] +} diff --git a/common/changes/@rushstack/localization-utilities/es2022-compiler-baseline_2026-08-18-03-14-04.json b/common/changes/@rushstack/localization-utilities/es2022-compiler-baseline_2026-08-18-03-14-04.json new file mode 100644 index 00000000000..b9d6ccb02b1 --- /dev/null +++ b/common/changes/@rushstack/localization-utilities/es2022-compiler-baseline_2026-08-18-03-14-04.json @@ -0,0 +1,9 @@ +{ + "changes": [ + { + "packageName": "@rushstack/localization-utilities", + "comment": "Compile package output for ES2022.", + "type": "patch" + } + ] +} diff --git a/common/changes/@rushstack/lookup-by-path/es2022-compiler-baseline_2026-08-18-03-14-04.json b/common/changes/@rushstack/lookup-by-path/es2022-compiler-baseline_2026-08-18-03-14-04.json new file mode 100644 index 00000000000..5beea3ec9e4 --- /dev/null +++ b/common/changes/@rushstack/lookup-by-path/es2022-compiler-baseline_2026-08-18-03-14-04.json @@ -0,0 +1,9 @@ +{ + "changes": [ + { + "packageName": "@rushstack/lookup-by-path", + "comment": "Compile package output for ES2022.", + "type": "patch" + } + ] +} diff --git a/common/changes/@rushstack/module-minifier/es2022-compiler-baseline_2026-08-18-03-14-04.json b/common/changes/@rushstack/module-minifier/es2022-compiler-baseline_2026-08-18-03-14-04.json new file mode 100644 index 00000000000..ecfc12ec0aa --- /dev/null +++ b/common/changes/@rushstack/module-minifier/es2022-compiler-baseline_2026-08-18-03-14-04.json @@ -0,0 +1,9 @@ +{ + "changes": [ + { + "packageName": "@rushstack/module-minifier", + "comment": "Compile package output for ES2022.", + "type": "patch" + } + ] +} diff --git a/common/changes/@rushstack/operation-graph/es2022-compiler-baseline_2026-08-18-03-14-04.json b/common/changes/@rushstack/operation-graph/es2022-compiler-baseline_2026-08-18-03-14-04.json new file mode 100644 index 00000000000..71b77ee57ef --- /dev/null +++ b/common/changes/@rushstack/operation-graph/es2022-compiler-baseline_2026-08-18-03-14-04.json @@ -0,0 +1,9 @@ +{ + "changes": [ + { + "packageName": "@rushstack/operation-graph", + "comment": "Compile package output for ES2022.", + "type": "patch" + } + ] +} diff --git a/common/changes/@rushstack/rush-daemon/es2022-compiler-baseline_2026-08-18-03-14-04.json b/common/changes/@rushstack/rush-daemon/es2022-compiler-baseline_2026-08-18-03-14-04.json new file mode 100644 index 00000000000..1d6a6b5787c --- /dev/null +++ b/common/changes/@rushstack/rush-daemon/es2022-compiler-baseline_2026-08-18-03-14-04.json @@ -0,0 +1,9 @@ +{ + "changes": [ + { + "packageName": "@rushstack/rush-daemon", + "comment": "Compile package output for ES2022.", + "type": "patch" + } + ] +} diff --git a/common/changes/@rushstack/ts-command-line/es2022-compiler-baseline_2026-08-18-03-14-04.json b/common/changes/@rushstack/ts-command-line/es2022-compiler-baseline_2026-08-18-03-14-04.json new file mode 100644 index 00000000000..d58c371665a --- /dev/null +++ b/common/changes/@rushstack/ts-command-line/es2022-compiler-baseline_2026-08-18-03-14-04.json @@ -0,0 +1,9 @@ +{ + "changes": [ + { + "packageName": "@rushstack/ts-command-line", + "comment": "Compile package output for ES2022.", + "type": "patch" + } + ] +} diff --git a/common/changes/@rushstack/webpack5-localization-plugin/es2022-compiler-baseline_2026-08-18-03-14-04.json b/common/changes/@rushstack/webpack5-localization-plugin/es2022-compiler-baseline_2026-08-18-03-14-04.json new file mode 100644 index 00000000000..c073c6bdc8e --- /dev/null +++ b/common/changes/@rushstack/webpack5-localization-plugin/es2022-compiler-baseline_2026-08-18-03-14-04.json @@ -0,0 +1,9 @@ +{ + "changes": [ + { + "packageName": "@rushstack/webpack5-localization-plugin", + "comment": "Compile package output for ES2022.", + "type": "patch" + } + ] +} diff --git a/common/changes/@rushstack/worker-pool/es2022-compiler-baseline_2026-08-18-03-14-04.json b/common/changes/@rushstack/worker-pool/es2022-compiler-baseline_2026-08-18-03-14-04.json new file mode 100644 index 00000000000..4b1e9fc750c --- /dev/null +++ b/common/changes/@rushstack/worker-pool/es2022-compiler-baseline_2026-08-18-03-14-04.json @@ -0,0 +1,9 @@ +{ + "changes": [ + { + "packageName": "@rushstack/worker-pool", + "comment": "Compile package output for ES2022.", + "type": "patch" + } + ] +} diff --git a/eslint/eslint-plugin/tsconfig.json b/eslint/eslint-plugin/tsconfig.json index 09aacf59d98..e98df1ad324 100644 --- a/eslint/eslint-plugin/tsconfig.json +++ b/eslint/eslint-plugin/tsconfig.json @@ -2,10 +2,6 @@ "extends": "./node_modules/decoupled-local-node-rig/profiles/default/tsconfig-base.json", "compilerOptions": { - "module": "Node16", - - // TODO: Update the rest of the repo to target ES2020 - "target": "ES2020", - "lib": ["ES2020"] + "module": "Node16" } } diff --git a/heft-plugins/heft-jest-plugin/tsconfig.json b/heft-plugins/heft-jest-plugin/tsconfig.json index 7b03eaec26f..1a33d17b873 100644 --- a/heft-plugins/heft-jest-plugin/tsconfig.json +++ b/heft-plugins/heft-jest-plugin/tsconfig.json @@ -1,8 +1,3 @@ { - "extends": "./node_modules/decoupled-local-node-rig/profiles/default/tsconfig-base.json", - - "compilerOptions": { - // TODO: Remove when the repo is updated to ES2020 - "target": "es2018" - } + "extends": "./node_modules/decoupled-local-node-rig/profiles/default/tsconfig-base.json" } diff --git a/heft-plugins/heft-typescript-plugin/tsconfig.json b/heft-plugins/heft-typescript-plugin/tsconfig.json index c3c96cb3fb7..1a33d17b873 100644 --- a/heft-plugins/heft-typescript-plugin/tsconfig.json +++ b/heft-plugins/heft-typescript-plugin/tsconfig.json @@ -1,8 +1,3 @@ { - "extends": "./node_modules/decoupled-local-node-rig/profiles/default/tsconfig-base.json", - - "compilerOptions": { - // TODO: Remove when the repo is updated to ES2020 - "lib": ["ES2019"] - } + "extends": "./node_modules/decoupled-local-node-rig/profiles/default/tsconfig-base.json" } diff --git a/libraries/localization-utilities/tsconfig.json b/libraries/localization-utilities/tsconfig.json index 7902d0431ea..dac21d04081 100644 --- a/libraries/localization-utilities/tsconfig.json +++ b/libraries/localization-utilities/tsconfig.json @@ -1,6 +1,3 @@ { - "extends": "./node_modules/local-node-rig/profiles/default/tsconfig-base.json", - "compilerOptions": { - "target": "ES2019" - } + "extends": "./node_modules/local-node-rig/profiles/default/tsconfig-base.json" } diff --git a/libraries/lookup-by-path/tsconfig.json b/libraries/lookup-by-path/tsconfig.json index 9a79fa4af11..dac21d04081 100644 --- a/libraries/lookup-by-path/tsconfig.json +++ b/libraries/lookup-by-path/tsconfig.json @@ -1,7 +1,3 @@ { - "extends": "./node_modules/local-node-rig/profiles/default/tsconfig-base.json", - - "compilerOptions": { - "target": "ES2019" - } + "extends": "./node_modules/local-node-rig/profiles/default/tsconfig-base.json" } diff --git a/libraries/module-minifier/tsconfig.json b/libraries/module-minifier/tsconfig.json index f471d671b3f..8c3fc354d35 100644 --- a/libraries/module-minifier/tsconfig.json +++ b/libraries/module-minifier/tsconfig.json @@ -2,7 +2,6 @@ "extends": "./node_modules/local-node-rig/profiles/default/tsconfig-base.json", "compilerOptions": { - "allowSyntheticDefaultImports": true, - "target": "ES2019" + "allowSyntheticDefaultImports": true } } diff --git a/libraries/operation-graph/tsconfig.json b/libraries/operation-graph/tsconfig.json index 9f4aaf6de01..e335da697bc 100644 --- a/libraries/operation-graph/tsconfig.json +++ b/libraries/operation-graph/tsconfig.json @@ -3,9 +3,6 @@ "compilerOptions": { // TODO: Consider turning this on for all projects, or removing it here - "allowSyntheticDefaultImports": true, - // TODO: update the rest of the repo to use ES2020 - "target": "ES2020", - "lib": ["ES2020"] + "allowSyntheticDefaultImports": true } } diff --git a/libraries/rush-daemon/tsconfig.json b/libraries/rush-daemon/tsconfig.json index f51cb9e037f..dac21d04081 100644 --- a/libraries/rush-daemon/tsconfig.json +++ b/libraries/rush-daemon/tsconfig.json @@ -1,8 +1,3 @@ { - "extends": "./node_modules/local-node-rig/profiles/default/tsconfig-base.json", - - "compilerOptions": { - "target": "ES2020", - "lib": ["ES2020"] - } + "extends": "./node_modules/local-node-rig/profiles/default/tsconfig-base.json" } diff --git a/libraries/rush-lib/src/cli/actions/BaseRushAction.ts b/libraries/rush-lib/src/cli/actions/BaseRushAction.ts index 45444525d12..256224d10f4 100644 --- a/libraries/rush-lib/src/cli/actions/BaseRushAction.ts +++ b/libraries/rush-lib/src/cli/actions/BaseRushAction.ts @@ -115,7 +115,7 @@ export abstract class BaseRushAction extends BaseConfiglessRushAction { return this._eventHooksManager; } - protected override readonly rushConfiguration!: RushConfiguration; + protected declare readonly rushConfiguration: RushConfiguration; protected override async onExecuteAsync(): Promise { if (!this.rushConfiguration) { diff --git a/libraries/ts-command-line/tsconfig.json b/libraries/ts-command-line/tsconfig.json index 7b03eaec26f..1a33d17b873 100644 --- a/libraries/ts-command-line/tsconfig.json +++ b/libraries/ts-command-line/tsconfig.json @@ -1,8 +1,3 @@ { - "extends": "./node_modules/decoupled-local-node-rig/profiles/default/tsconfig-base.json", - - "compilerOptions": { - // TODO: Remove when the repo is updated to ES2020 - "target": "es2018" - } + "extends": "./node_modules/decoupled-local-node-rig/profiles/default/tsconfig-base.json" } diff --git a/libraries/worker-pool/tsconfig.json b/libraries/worker-pool/tsconfig.json index 9a79fa4af11..dac21d04081 100644 --- a/libraries/worker-pool/tsconfig.json +++ b/libraries/worker-pool/tsconfig.json @@ -1,7 +1,3 @@ { - "extends": "./node_modules/local-node-rig/profiles/default/tsconfig-base.json", - - "compilerOptions": { - "target": "ES2019" - } + "extends": "./node_modules/local-node-rig/profiles/default/tsconfig-base.json" } diff --git a/rigs/decoupled-local-node-rig/profiles/default/tsconfig-base.json b/rigs/decoupled-local-node-rig/profiles/default/tsconfig-base.json index 3da09670199..66775d65fd6 100644 --- a/rigs/decoupled-local-node-rig/profiles/default/tsconfig-base.json +++ b/rigs/decoupled-local-node-rig/profiles/default/tsconfig-base.json @@ -6,7 +6,8 @@ "compilerOptions": { "resolveJsonModule": true, "isolatedModules": true, - "target": "es2018", + "target": "es2022", + "lib": ["es2022"], "outDir": "${configDir}/lib-commonjs", "declarationDir": "${configDir}/lib-dts", diff --git a/rigs/local-node-rig/profiles/default/tsconfig-base.json b/rigs/local-node-rig/profiles/default/tsconfig-base.json index e84164de07f..bac443f2e86 100644 --- a/rigs/local-node-rig/profiles/default/tsconfig-base.json +++ b/rigs/local-node-rig/profiles/default/tsconfig-base.json @@ -7,7 +7,8 @@ "resolveJsonModule": true, "isolatedModules": true, "noImplicitOverride": true, - "target": "es2018", + "target": "es2022", + "lib": ["es2022"], "outDir": "${configDir}/lib-commonjs", "declarationDir": "${configDir}/lib-dts", diff --git a/webpack/webpack5-localization-plugin/tsconfig.json b/webpack/webpack5-localization-plugin/tsconfig.json index 7902d0431ea..dac21d04081 100644 --- a/webpack/webpack5-localization-plugin/tsconfig.json +++ b/webpack/webpack5-localization-plugin/tsconfig.json @@ -1,6 +1,3 @@ { - "extends": "./node_modules/local-node-rig/profiles/default/tsconfig-base.json", - "compilerOptions": { - "target": "ES2019" - } + "extends": "./node_modules/local-node-rig/profiles/default/tsconfig-base.json" } From 08f70e1d59915c6d428043666e2b57ce658b3c38 Mon Sep 17 00:00:00 2001 From: Bharat Middha <5100938+bmiddha@users.noreply.github.com> Date: Mon, 17 Aug 2026 22:21:16 -0700 Subject: [PATCH 2/3] fix: handle ES2022 compiler semantics Keep Webpack 4 fixtures on ES2019 because its parser cannot consume nullish coalescing emitted by ES2022 targets. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8ebd5bf2-c44b-42d5-be25-e7936d4b0a14 --- apps/api-documenter/src/plugin/MarkdownDocumenterFeature.ts | 2 +- build-tests/localization-plugin-test-01/tsconfig.json | 1 + build-tests/localization-plugin-test-02/tsconfig.json | 1 + build-tests/localization-plugin-test-03/tsconfig.json | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/api-documenter/src/plugin/MarkdownDocumenterFeature.ts b/apps/api-documenter/src/plugin/MarkdownDocumenterFeature.ts index efa45f7d726..2e6b67fe02a 100644 --- a/apps/api-documenter/src/plugin/MarkdownDocumenterFeature.ts +++ b/apps/api-documenter/src/plugin/MarkdownDocumenterFeature.ts @@ -75,7 +75,7 @@ const uuidMarkdownDocumenterFeature: string = '34196154-9eb3-4de0-a8c8-7e9539dfe */ export class MarkdownDocumenterFeature extends PluginFeature { /** {@inheritdoc PluginFeature.context} */ - public override context!: MarkdownDocumenterFeatureContext; + public declare context: MarkdownDocumenterFeatureContext; /** * This event occurs before each markdown file is written. It provides an opportunity to customize the diff --git a/build-tests/localization-plugin-test-01/tsconfig.json b/build-tests/localization-plugin-test-01/tsconfig.json index 27340e2d2e3..daeee77f37c 100644 --- a/build-tests/localization-plugin-test-01/tsconfig.json +++ b/build-tests/localization-plugin-test-01/tsconfig.json @@ -1,6 +1,7 @@ { "extends": "./node_modules/local-node-rig/profiles/default/tsconfig-base.json", "compilerOptions": { + "target": "ES2019", "moduleResolution": "node", "rootDirs": ["src", "temp/loc-json-ts"] } diff --git a/build-tests/localization-plugin-test-02/tsconfig.json b/build-tests/localization-plugin-test-02/tsconfig.json index 27340e2d2e3..daeee77f37c 100644 --- a/build-tests/localization-plugin-test-02/tsconfig.json +++ b/build-tests/localization-plugin-test-02/tsconfig.json @@ -1,6 +1,7 @@ { "extends": "./node_modules/local-node-rig/profiles/default/tsconfig-base.json", "compilerOptions": { + "target": "ES2019", "moduleResolution": "node", "rootDirs": ["src", "temp/loc-json-ts"] } diff --git a/build-tests/localization-plugin-test-03/tsconfig.json b/build-tests/localization-plugin-test-03/tsconfig.json index 898e6469aff..ecb4d474e28 100644 --- a/build-tests/localization-plugin-test-03/tsconfig.json +++ b/build-tests/localization-plugin-test-03/tsconfig.json @@ -1,6 +1,7 @@ { "extends": "./node_modules/local-node-rig/profiles/default/tsconfig-base.json", "compilerOptions": { + "target": "ES2019", "module": "esnext", "outDir": "lib-esm", "declarationDir": "lib-dts", From 0876f9caa749a0d2559bb2c32b9bbd08d95b90a0 Mon Sep 17 00:00:00 2001 From: Bharat Middha <5100938+bmiddha@users.noreply.github.com> Date: Mon, 17 Aug 2026 22:36:32 -0700 Subject: [PATCH 3/3] fix: declare inherited scenario property Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8ebd5bf2-c44b-42d5-be25-e7936d4b0a14 --- .../api-documenter-scenarios/src/inheritedMembers/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-tests/api-documenter-scenarios/src/inheritedMembers/index.ts b/build-tests/api-documenter-scenarios/src/inheritedMembers/index.ts index a5f0cb269ce..d0d3021c22b 100644 --- a/build-tests/api-documenter-scenarios/src/inheritedMembers/index.ts +++ b/build-tests/api-documenter-scenarios/src/inheritedMembers/index.ts @@ -48,7 +48,7 @@ export class Class2 extends Namespace1.Class3 { export class Class1 extends Class2 { /** A second prop. Overrides `Class2.secondProp`. */ // eslint-disable-next-line @typescript-eslint/explicit-member-accessibility - override secondProp: boolean; + declare secondProp: boolean; /** A fourth prop */ // eslint-disable-next-line @typescript-eslint/explicit-member-accessibility