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):
|
||||
`ng.core.NgModule({declarations: ..., imports: ...,
|
||||
exports: ..., providers: ..., bootstrap: ...}).
|
||||
class({ constructor: function() {}})`
|
||||
Class({ constructor: function() {}})`
|
||||
description:
|
||||
Defines a module that contains components, directives, pipes, and providers.
|
||||
|
||||
|
|
Loading…
Reference in New Issue