You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: design/website/docs/script/overview.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
# Script
2
2
3
-
TypeScript Runtime Scripting Engine
3
+
Parse TypeScript into Json Schema
4
4
5
5
## Overview
6
6
7
-
TypeBox can translate TypeScript syntax into Json Schema. The Script function is a fully type-safe, syntactic frontend to the TypeBox type builder API, allowing Json Schema to be constructed and mapped using TypeScript type expressions encoded as strings.
7
+
TypeBox can parse TypeScript syntax into Json Schema. The Script function is designed to be syntactic frontend to the TypeBox type builder API, enabling Json Schema to be both constructed and mapped using TypeScript type expressions encoded in template literal strings.
Copy file name to clipboardExpand all lines: docs/docs/script/overview.html
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
<h1>Script</h1>
2
-
<p>TypeScript Runtime Scripting Engine</p>
2
+
<p>Parse TypeScript into Json Schema</p>
3
3
<h2>Overview</h2>
4
-
<p>TypeBox can translate TypeScript syntax into Json Schema. The Script function is a fully type-safe, syntactic frontend to the TypeBox type builder API, allowing Json Schema to be constructed and mapped using TypeScript type expressions encoded as strings.</p>
4
+
<p>TypeBox can parse TypeScript syntax into Json Schema. The Script function is designed to be syntactic frontend to the TypeBox type builder API, enabling Json Schema to be both constructed and mapped using TypeScript type expressions encoded in template literal strings.</p>
5
5
<h3>Example</h3>
6
6
<p>The following uses Script to construct and map Json Schema.</p>
7
7
<pre><codeclass="language-typescript">import Type from 'typebox'
0 commit comments