Skip to content

Commit

Permalink
idk
Browse files Browse the repository at this point in the history
  • Loading branch information
ssalbdivad committed Jan 16, 2025
1 parent 984988c commit d932658
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions ark/repo/testV8.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,15 @@
import { fromHere } from "@ark/fs"
import { type } from "arktype"
import { rootSchema } from "../schema/out/index.js"

console.log(
"⏱️ Checking for V8 fast properties (https://v8.dev/blog/fast-properties) on Type...\n"
)

const t = rootSchema({
domain: "number",
divisor: 2
// required: [{ key: "a", value: "string" }]
const t = type({
name: "string",
age: "number"
})

// const tt = type({
// name: "string",
// age: "number"
// })

let hasFastProperties

try {
Expand Down

0 comments on commit d932658

Please sign in to comment.