From 5fa012efb845e105629afe145b32b2ba1229cd46 Mon Sep 17 00:00:00 2001 From: Sonu Kapoor Date: Tue, 6 Oct 2020 08:22:07 -0400 Subject: [PATCH] docs: change heading to a sub-heading (#39131) This commit changes the heading of the section `Use TypeScript path mapping for peer dependencies` to a sub-heading of `Linked Libraries`. Fixes #39130 PR Close #39131 --- aio/content/guide/creating-libraries.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/content/guide/creating-libraries.md b/aio/content/guide/creating-libraries.md index 3cb1598aff..7370486f99 100644 --- a/aio/content/guide/creating-libraries.md +++ b/aio/content/guide/creating-libraries.md @@ -156,7 +156,7 @@ The library must be rebuilt on every change. When linking a library, make sure that the build step runs in watch mode, and that the library's `package.json` configuration points at the correct entry points. For example, `main` should point at a JavaScript file, not a TypeScript file. -## Use TypeScript path mapping for peer dependencies +### Use TypeScript path mapping for peer dependencies Angular libraries should list all `@angular/*` dependencies as peer dependencies. This ensures that when modules ask for Angular, they all get the exact same module.