https://github.com/angular/angular
Revision 521bfc127c46d3a04aee66385fb8315bd23069e5 authored by George Kalpakas on 26 April 2022, 13:58:00 UTC, committed by Dylan Hunn on 29 April 2022, 16:20:08 UTC
Update some TypeScript types in `generate-locales-tool/day-periods.ts`
to more closely reflect the actual shapes of the returned objects.

Examples of the related raw JSON data for the `en` locale can be seen
here:
- [dayPeriods][1]
- [dayPeriodRules][2]

[1]: https://github.com/unicode-org/cldr-json/blob/41.0.0/cldr-json/cldr-dates-full/main/en/ca-gregorian.json#L223-L300
[2]: https://github.com/unicode-org/cldr-json/blob/41.0.0/cldr-json/cldr-core/supplemental/dayPeriods.json#L404-L427

PR Close #45714
1 parent 0e5e4e2
History
Tip revision: 521bfc127c46d3a04aee66385fb8315bd23069e5 authored by George Kalpakas on 26 April 2022, 13:58:00 UTC
refactor(common): improve `dayPeriods`-related types in `generate-locales-tool` (#45714)
Tip revision: 521bfc1
File Mode Size
aio-builds-setup
content
scripts
src
tests
tools
.browserslistrc -rw-r--r-- 600 bytes
.eslintrc.json -rw-r--r-- 3.0 KB
.gitignore -rw-r--r-- 664 bytes
.npmrc -rw-r--r-- 21 bytes
BUILD.bazel -rw-r--r-- 3.3 KB
README.md -rw-r--r-- 7.8 KB
angular.json -rw-r--r-- 6.6 KB
firebase.json -rw-r--r-- 16.5 KB
karma.conf.js -rw-r--r-- 2.4 KB
ngsw-config.json -rw-r--r-- 3.9 KB
ngsw-config.template.json -rw-r--r-- 1.8 KB
package.json -rw-r--r-- 8.5 KB
security-exemptions.json -rw-r--r-- 302 bytes
tsconfig.app.json -rw-r--r-- 357 bytes
tsconfig.json -rw-r--r-- 1.4 KB
tsconfig.spec.json -rw-r--r-- 297 bytes
tsconfig.worker.json -rw-r--r-- 230 bytes
yarn.lock -rw-r--r-- 574.3 KB

README.md

back to top