docs(cheatsheet): fix typo NgModule definition (#11377)
`.Class` and not `.class` in js approach for NgModule definition.
This commit is contained in:
parent
ed2ebeb52a
commit
643afa4b15
@ -16,7 +16,7 @@ Defines a module that contains components, directives, pipes, and providers.
|
|||||||
syntax(js):
|
syntax(js):
|
||||||
`ng.core.NgModule({declarations: ..., imports: ...,
|
`ng.core.NgModule({declarations: ..., imports: ...,
|
||||||
exports: ..., providers: ..., bootstrap: ...}).
|
exports: ..., providers: ..., bootstrap: ...}).
|
||||||
class({ constructor: function() {}})`
|
Class({ constructor: function() {}})`
|
||||||
description:
|
description:
|
||||||
Defines a module that contains components, directives, pipes, and providers.
|
Defines a module that contains components, directives, pipes, and providers.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user