diff --git a/docs/tsconfig.json b/docs/tsconfig.json index f999763b7602..b7d48a9bc450 100644 --- a/docs/tsconfig.json +++ b/docs/tsconfig.json @@ -32,6 +32,9 @@ "strictInjectionParameters": true, "strictInputAccessModifiers": true, "strictTemplates": true, + "strictInputTypes": true, + "strictOutputEventTypes": true, + "strictDomEventTypes": true, "typeCheckHostBindings": true } } diff --git a/src/bazel-tsconfig-build.json b/src/bazel-tsconfig-build.json index 7b525501ea27..8a956fdee70a 100644 --- a/src/bazel-tsconfig-build.json +++ b/src/bazel-tsconfig-build.json @@ -51,6 +51,10 @@ "angularCompilerOptions": { "strictTemplates": true, "typeCheckHostBindings": true, + "strictInputAccessModifiers": true, + "strictInputTypes": true, + "strictOutputEventTypes": true, + "strictDomEventTypes": true, "extendedDiagnostics": { "defaultCategory": "error" } diff --git a/src/cdk-experimental/radio-group/radio-group.ts b/src/cdk-experimental/radio-group/radio-group.ts index 40553d753616..effbfdffc3c1 100644 --- a/src/cdk-experimental/radio-group/radio-group.ts +++ b/src/cdk-experimental/radio-group/radio-group.ts @@ -186,7 +186,7 @@ export class CdkRadioButton { protected id = computed(() => this._generatedId); /** The value associated with the radio button. */ - protected value = input.required(); + readonly value = input.required(); /** The parent RadioGroup UIPattern. */ protected group = computed(() => this._cdkRadioGroup.pattern); diff --git a/src/material/chips/chip-action.ts b/src/material/chips/chip-action.ts index 432f75f97951..a2e866e46409 100644 --- a/src/material/chips/chip-action.ts +++ b/src/material/chips/chip-action.ts @@ -77,7 +77,7 @@ export class MatChipAction { * Private API to allow focusing this chip when it is disabled. */ @Input() - private _allowFocusWhenDisabled = false; + _allowFocusWhenDisabled = false; /** * Determine the value of the disabled attribute for this chip action. diff --git a/src/tsconfig-legacy.json b/src/tsconfig-legacy.json index 11eefadf0c9e..b898a99551ef 100644 --- a/src/tsconfig-legacy.json +++ b/src/tsconfig-legacy.json @@ -30,6 +30,10 @@ // not find an associated module for test components and error out. "compileNonExportedClasses": false, "typeCheckHostBindings": true, - "strictTemplates": true + "strictTemplates": true, + "strictInputAccessModifiers": true, + "strictInputTypes": true, + "strictOutputEventTypes": true, + "strictDomEventTypes": true } } diff --git a/tsconfig.json b/tsconfig.json index 84b08be1dcab..99743a98f8f8 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -44,6 +44,10 @@ "angularCompilerOptions": { "strictTemplates": true, "typeCheckHostBindings": true, + "strictInputAccessModifiers": true, + "strictInputTypes": true, + "strictOutputEventTypes": true, + "strictDomEventTypes": true, "extendedDiagnostics": { "defaultCategory": "error" }