-
-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: global config resolution, some inference (#1282)
- Loading branch information
1 parent
bfb869e
commit bb5fbf2
Showing
39 changed files
with
630 additions
and
540 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,3 @@ | ||
import { scope, type } from "arktype" | ||
import { type } from "arktype" | ||
|
||
const point2d = type({ | ||
x: "number", | ||
y: "number", | ||
"+": "delete" | ||
}) | ||
|
||
const point3d = type({ | ||
x: "number", | ||
y: "number", | ||
z: "number", | ||
"+": "delete" | ||
}) | ||
|
||
const t = point2d.or(point3d) | ||
|
||
// number | ||
const n = type("1 | number").expression | ||
const even = type.number.divisibleBy(2).brand("even") |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.