Skip to content

Commit a1733b5

Browse files
committed
9.0.x - 4b44c57a5 refactor: remove inherited coercion acceptance members (#17911)
1 parent fbc4a3f commit a1733b5

File tree

10 files changed

+11
-37
lines changed

10 files changed

+11
-37
lines changed

bundles/components-examples-cdk-stepper.umd.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cdk/stepper/cdk-custom-stepper-without-form/cdk-custom-stepper-without-form-example.d.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ export declare class CdkCustomStepperWithoutFormExample {
88
/** Custom CDK stepper component */
99
export declare class CustomStepper extends CdkStepper {
1010
onClick(index: number): void;
11-
static ngAcceptInputType_linear: boolean | string | null | undefined;
12-
static ngAcceptInputType_selectedIndex: number | string | null | undefined;
1311
static ɵfac: i0.ɵɵFactoryDef<CustomStepper>;
1412
static ɵcmp: i0.ɵɵComponentDefWithMeta<CustomStepper, "example-custom-stepper", never, {}, {}, never>;
1513
}

docs-content/examples-highlighted/cdk-custom-stepper-without-form-example-ts.html

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,4 @@
2020
onClick(index: <span class="hljs-built_in">number</span>): <span class="hljs-built_in">void</span> {
2121
<span class="hljs-keyword">this</span>.selectedIndex = index;
2222
}
23-
24-
<span class="hljs-comment">// These properties are required so that the Ivy template type checker in strict mode knows</span>
25-
<span class="hljs-comment">// what kind of values are accepted by the `linear` and `selectedIndex` inputs which</span>
26-
<span class="hljs-comment">// are inherited from `CdkStepper`.</span>
27-
<span class="hljs-keyword">static</span> ngAcceptInputType_linear: <span class="hljs-built_in">boolean</span> | <span class="hljs-built_in">string</span> | <span class="hljs-literal">null</span> | <span class="hljs-literal">undefined</span>;
28-
<span class="hljs-keyword">static</span> ngAcceptInputType_selectedIndex: <span class="hljs-built_in">number</span> | <span class="hljs-built_in">string</span> | <span class="hljs-literal">null</span> | <span class="hljs-literal">undefined</span>;
2923
}

docs-content/examples-source/cdk-custom-stepper-without-form-example.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,4 @@ export class CustomStepper extends CdkStepper {
2020
onClick(index: number): void {
2121
this.selectedIndex = index;
2222
}
23-
24-
// These properties are required so that the Ivy template type checker in strict mode knows
25-
// what kind of values are accepted by the `linear` and `selectedIndex` inputs which
26-
// are inherited from `CdkStepper`.
27-
static ngAcceptInputType_linear: boolean | string | null | undefined;
28-
static ngAcceptInputType_selectedIndex: number | string | null | undefined;
2923
}

0 commit comments

Comments
 (0)