Skip to content

Commit f375f92

Browse files
jwshinjwshinjelbourn
authored andcommitted
feat(stepper): add moduleId to components (#6780)
1 parent 87318bc commit f375f92

File tree

6 files changed

+9
-3
lines changed

6 files changed

+9
-3
lines changed

src/cdk/stepper/stepper.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ export class StepperSelectionEvent {
5757
}
5858

5959
@Component({
60+
moduleId: module.id,
6061
selector: 'cdk-step',
6162
templateUrl: 'step.html',
6263
encapsulation: ViewEncapsulation.None

src/cdk/stepper/tsconfig-build.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"extends": "../tsconfig-build",
33
"files": [
4-
"public_api.ts"
4+
"public_api.ts",
5+
"../typings.d.ts"
56
],
67
"angularCompilerOptions": {
78
"annotateForClosureCompiler": true,

src/cdk/tsconfig-build.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
}
2626
},
2727
"files": [
28-
"public_api.ts"
28+
"public_api.ts",
29+
"typings.d.ts"
2930
],
3031
"angularCompilerOptions": {
3132
"annotateForClosureCompiler": true,

src/cdk/tsconfig-tests.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
}
1515
},
1616
"files": [
17-
"./testing/index.ts"
17+
"./testing/index.ts",
18+
"typings.d.ts"
1819
],
1920
"include": [
2021
// Include the index.ts for each secondary entry-point

src/cdk/typings.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
declare var module: {id: string};

src/lib/stepper/step-header.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import {coerceBooleanProperty, coerceNumberProperty} from '@angular/cdk/coercion
1111
import {MdStepLabel} from './step-label';
1212

1313
@Component({
14+
moduleId: module.id,
1415
selector: 'md-step-header, mat-step-header',
1516
templateUrl: 'step-header.html',
1617
styleUrls: ['step-header.css'],

0 commit comments

Comments
 (0)