Skip to content

Commit

Permalink
docs: fix typo in native types page
Browse files Browse the repository at this point in the history
  • Loading branch information
PgBiel authored Jan 16, 2025
1 parent af5d1a9 commit 92e7bea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/book/src/types/type-system/native-types.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Native types

Typst-native types, such as `int` and `str`, are intenrally represented by typeinfos of `"native"` type-kind, which can be obtained with `e.types.native.typeinfo(type)`. They can generally be specified directly on type positions (e.g. `types.union(int, float)`) without using that function, as Elembic will automatically convert them.
Typst-native types, such as `int` and `str`, are internally represented by typeinfos of `"native"` type-kind, which can be obtained with `e.types.native.typeinfo(type)`. They can generally be specified directly on type positions (e.g. `types.union(int, float)`) without using that function, as Elembic will automatically convert them.

For fill-like fields, there is also `e.types.paint`, an alias for `types.union(color, gradient, tiling)`.

Expand Down

0 comments on commit 92e7bea

Please sign in to comment.