File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
## typecheck
2
2
3
- Use ` typecheck ` to run the Pact static type checker on a specified ` module ` name .
3
+ Use ` typecheck ` to run the Pact static type checker on the ` module ` you specify .
4
4
5
5
### Basic syntax
6
6
7
- To run the static type checker on a specified ` module ` name , use the following syntax:
7
+ To run the static type checker on the ` module ` specified , use the following syntax:
8
8
9
9
``` pact
10
10
(typecheck module)
@@ -21,7 +21,7 @@ Use the following argument when calling the `typecheck` function:
21
21
### Return value
22
22
23
23
If type checking for the module is successful, the ` typecheck ` function returns the unit value ` () ` .
24
- If type checking fails, the function returns an error.
24
+ If type checking fails, the ` typecheck ` function throws an error and ends execution .
25
25
26
26
### Examples
27
27
You can’t perform that action at this time.
0 commit comments