From d932658393a05b3bd3d49b1f227c26c073ca1280 Mon Sep 17 00:00:00 2001 From: David Blass Date: Thu, 16 Jan 2025 16:45:43 -0500 Subject: [PATCH] idk --- ark/repo/testV8.js | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/ark/repo/testV8.js b/ark/repo/testV8.js index b3ee4c1ec..3444e614f 100644 --- a/ark/repo/testV8.js +++ b/ark/repo/testV8.js @@ -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 {