Skip to content

Add a few type definitions that I had to write today for the sake of demoing things.#302

Merged
aatxe merged 8 commits intoprimaryfrom
improve-type-definitions
May 29, 2025
Merged

Add a few type definitions that I had to write today for the sake of demoing things.#302
aatxe merged 8 commits intoprimaryfrom
improve-type-definitions

Conversation

@aatxe
Copy link
Copy Markdown
Member

@aatxe aatxe commented May 29, 2025

We're working towards #60 by adding type definitions for @lute/crypto, @lute/vm, and @lute/net, plus two missing functions from the @lute/luau` definitions. These came out of making a short demo video of Lute for internal use.

@aatxe aatxe enabled auto-merge (squash) May 29, 2025 21:47
@aatxe aatxe merged commit 7dfbbd8 into primary May 29, 2025
7 checks passed
@aatxe aatxe deleted the improve-type-definitions branch May 29, 2025 21:49
hostname: string?,
port: number?,
reuseport: boolean?,
tls: { cert_file_name: string, key_file_name: string, passphrase: string?, ca_file_name: string? },
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tls is optional

error("not implemented")
end

export type handler = (...any) -> ...any
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume this is a placeholder, we can define the request argument in a follow up I suppose

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, it was half-assed enough to make the demo not have squiggles if i'm being honest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants