Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes typo on spelling primitive #349

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/src/doc/tutorial.mt
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ Other forms of construction, e.g. <code>new Point(42)</code> or <code>new Point(
<p>
Basic type concept will be described in this section. Primitive types, object types, variant type, and Nullable types exist in JSX.
</p>
<h3 id="primitive-types">Pritimive Types</h3>
<h3 id="primitive-types">Primitive Types</h3>
<p>
There are three pritimive types in JSX: <code>string</code>, <code>number</code>, and <code>boolean</code>. The three are non-nullable, immutable types. The code snippet below declares three variables <code>s</code>, <code>n</code>, <code>b</code> with their repective types, annocated to the right of the name of the variables using the <code>:</code> mark.
There are three primitive types in JSX: <code>string</code>, <code>number</code>, and <code>boolean</code>. The three are non-nullable, immutable types. The code snippet below declares three variables <code>s</code>, <code>n</code>, <code>b</code> with their repective types, annocated to the right of the name of the variables using the <code>:</code> mark.
</p>
<?= $context->{prettify}->('jsx', <<'EOT')
var s : string;
Expand Down