GeezerVison is showing github.com — Improve typescript doc · SatsCzar/nullstack.github.io@2b4a35f
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: i18n/en-US/articles/typescript.md +2-2Lines changed: 2 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -19,9 +19,9 @@ import Nullstack, {NullstackClientContext, NullstackServerContext} from 'nullsta |
19 | 19 | class TypeScript extends Nullstack { |
20 | 20 |
|
21 | 21 | // ... |
22 | | - async serverFunction(context: NullstackServerContext) {} |
| 22 | + async serverFunction(context?: NullstackServerContext) {} |
23 | 23 |
|
24 | | - async clientFunction(context: NuNullstackClientContextls) {} |
| 24 | + async clientFunction(context?: NuNullstackClientContextls) {} |
25 | 25 | // ... |
26 | 26 |
|
27 | 27 | } |
|
Collapse file
Copy file name to clipboardExpand all lines: i18n/pt-BR/articles/typescript.md +2-2Lines changed: 2 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -21,9 +21,9 @@ import Nullstack, { |
21 | 21 |
|
22 | 22 | class TypeScript extends Nullstack { |
23 | 23 | // ... |
24 | | - async serverFunction(context: NullstackServerContext) {} |
| 24 | + async serverFunction(context?: NullstackServerContext) {} |
25 | 25 |
|
26 | | - async clientFunction(context: NullstackClientContext) {} |
| 26 | + async clientFunction(context?: NullstackClientContext) {} |
27 | 27 | // ... |
28 | 28 | } |
29 | 29 | ``` |