angular-docs-cn/packages/service-worker/worker/testing
George Kalpakas fb735d625b refactor(service-worker): use nominal type for normalized URLs (#37922)
Some ServiceWorker operations and methods require normalized URLs.
Previously, the generic `string` type was used.

This commit introduces a new `NormalizedUrl` type, a special kind of
`string`, to make this requirement explicit and use the type system to
enforce it.

PR Close #37922
2020-07-09 09:44:57 -07:00
..
BUILD.bazel build: rules_nodejs 0.26.0 & use @npm instead of @ngdeps now that downstream angular build uses angular bundles (#28871) 2019-02-28 12:06:36 -08:00
cache.ts test(service-worker): make mock implementations more similar to actual ones (#37922) 2020-07-09 09:44:57 -07:00
fetch.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
mock.ts test(service-worker): make mock implementations more similar to actual ones (#37922) 2020-07-09 09:44:57 -07:00
scope.ts test(service-worker): make mock implementations more similar to actual ones (#37922) 2020-07-09 09:44:57 -07:00
utils.ts refactor(service-worker): use nominal type for normalized URLs (#37922) 2020-07-09 09:44:57 -07:00