Skip to content

Commit fedeef7

Browse files
authored
fix: add material-moment-adapter to stackblitz dependencies (#1156)
Adds `@angular/material-moment-adapter` and `moment` to the package.json on stackblitz examples. This fixes the "Cannot find module 'moment' or its corresponding type declarations." in some examples. Fixes angular/components#25136
1 parent c80c353 commit fedeef7

File tree

2 files changed

+53
-15
lines changed

2 files changed

+53
-15
lines changed

src/assets/stack-blitz/package-lock.json

Lines changed: 51 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/assets/stack-blitz/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@
1717
"@angular/core": "~14.0.0",
1818
"@angular/forms": "~14.0.0",
1919
"@angular/material": "${version}",
20+
"@angular/material-moment-adapter": "${version}",
2021
"@angular/platform-browser": "~14.0.0",
2122
"@angular/platform-browser-dynamic": "~14.0.0",
2223
"@angular/router": "~14.0.0",
24+
"moment": "^2.18.1",
2325
"rxjs": "~7.4.0",
2426
"tslib": "^2.3.0",
2527
"zone.js": "~0.11.5"

0 commit comments

Comments
 (0)