docs(nxdev): updated generator doc (#7649)

This commit is contained in:
Imdadul Huq 2021-11-08 17:04:21 +01:00 committed by GitHub
parent 5bc169264b
commit 9e61e8cdc6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View File

@ -112,8 +112,8 @@ This is my <%= uppercase(name) %>
```typescript
// typescript file
function uppercase(val) {
val.toUppercase();
function uppercase(val: string) {
return val.toUpperCase();
}
// later

View File

@ -112,8 +112,8 @@ This is my <%= uppercase(name) %>
```typescript
// typescript file
function uppercase(val) {
val.toUppercase();
function uppercase(val: string) {
return val.toUpperCase();
}
// later

View File

@ -112,8 +112,8 @@ This is my <%= uppercase(name) %>
```typescript
// typescript file
function uppercase(val) {
val.toUppercase();
function uppercase(val: string) {
return val.toUpperCase();
}
// later