Skip to content

Commit 2e5eb5f

Browse files
committed
Merged PR 739275: Fix custom scheduling documentation
Syntax fixes in the documentation
1 parent 72111db commit 2e5eb5f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Documentation/Wiki/Frontends/js-hybrid-builds.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ config({
8080
}
8181
{
8282
kind: "DScript",
83-
modules: {moduleName: "test-telemetry", projects: [f`test-telemetry.dsc`]}
83+
modules: [{moduleName: "test-telemetry", projects: [f`test-telemetry.dsc`]}]
8484
}
8585
]
8686
});
@@ -91,7 +91,7 @@ With this configuration, every time there is a JavaScript project to schedule, t
9191
```typescript
9292
// test-telemetry.dsc
9393

94-
@@public export function runJestWithTelemetry(JavaScriptProject project) => TransformerExecuteResult {
94+
@@public export function runJestWithTelemetry(project: JavaScriptProject): TransformerExecuteResult {
9595
...
9696
}
9797
```
@@ -119,7 +119,7 @@ Let's see now how this custom scheduler can be implemented:
119119
// test-telemetry.dsc
120120
import * as JestTelemetry from "Sdk.JestTelemetry";
121121

122-
@@public export function runJestWithTelemetry(JavaScriptProject project) : TransformerExecuteResult {
122+
@@public export function runJestWithTelemetry(project: JavaScriptProject): TransformerExecuteResult {
123123
if (scriptCommandName !== "test") {
124124
return undefined;
125125
}

0 commit comments

Comments
 (0)