Skip to content

Commit 2510e7d

Browse files
obenjiroalxhub
authored andcommitted
docs: fix typo in Schematics guide (angular#36328)
Fixing typo in schematics-for-libraries.md PR Close angular#36328
1 parent 80c6858 commit 2510e7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aio/content/guide/schematics-for-libraries.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ A `Rule` can use external template files, transform them, and return another `Ru
249249
* The `url()` method reads source files from your filesystem, relative to the schematic.
250250
* The `applyTemplates()` method receives an argument of methods and properties you want make available to the schematic template and the schematic filenames. It returns a `Rule`. This is where you define the `classify()` and `dasherize()` methods, and the `name` property.
251251
* The `classify()` method takes a value and returns the value in title case. For example, if the provided name is `my service`, it is returned as `MyService`
252-
* The `dasherize()` method takes a value and returns the value in dashed and lowercase. For example, if the provided name is MyService, it is returned as `my-service.
252+
* The `dasherize()` method takes a value and returns the value in dashed and lowercase. For example, if the provided name is MyService, it is returned as `my-service`.
253253
* The `move` method moves the provided source files to their destination when the schematic is applied.
254254

255255
1. Finally, the rule factory must return a rule.

0 commit comments

Comments
 (0)