Skip to content

Commit a559d9e

Browse files
committed
Update typecheck description
1 parent 8cbc41c commit a559d9e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/builtins/Repl/typecheck.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
## typecheck
22

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.
44

55
### Basic syntax
66

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:
88

99
```pact
1010
(typecheck module)
@@ -21,7 +21,7 @@ Use the following argument when calling the `typecheck` function:
2121
### Return value
2222

2323
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.
2525

2626
### Examples
2727

0 commit comments

Comments
 (0)