From 38fac35a63b143666412d1f3f267bbecb04908b5 Mon Sep 17 00:00:00 2001 From: Colin McDonnell Date: Fri, 1 Dec 2023 12:40:56 -0800 Subject: [PATCH] Update sponsors --- README.md | 11 +++++++++++ deno/lib/README.md | 11 +++++++++++ playground.ts | 31 ++++++++++++++++++++++++++++++- 3 files changed, 52 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 385835506..73958350e 100644 --- a/README.md +++ b/README.md @@ -291,6 +291,17 @@ Sponsorship at any level is appreciated and encouraged. For individual developer

How developers support their users.

+ + + Inngest logo + +
+ Inngest +
+ inngest.com +
+

Effortless serverless queues, background jobs, and workflows

+ diff --git a/deno/lib/README.md b/deno/lib/README.md index 385835506..73958350e 100644 --- a/deno/lib/README.md +++ b/deno/lib/README.md @@ -291,6 +291,17 @@ Sponsorship at any level is appreciated and encouraged. For individual developer

How developers support their users.

+ + + Inngest logo + +
+ Inngest +
+ inngest.com +
+

Effortless serverless queues, background jobs, and workflows

+ diff --git a/playground.ts b/playground.ts index 4e01473b6..aa2c57f27 100644 --- a/playground.ts +++ b/playground.ts @@ -1,3 +1,32 @@ import { z } from "./src"; - +import * as mod from "node:module"; z; + +// @ts-ignore +// const arg = await import("./index"); +// arg; +// require.resolve(arg); + +load: { +} +interface A { + name: T; + children: any; + render(): ReadableStream | string; +} +function Hyper(arg: T) { + return function () {} as any as { + prototype: A; + new (): A; + }; +} + +export default class extends Hyper({ name: 1234 }) { + render() { + // this.name.name; + return `asdf ${this.children} asdf`; + } +} + +const a = new Arg(); +a.name;