Add js web stuff to landing page + documentation

This commit is contained in:
2026-07-14 10:33:12 -04:00
parent fec8ef4a3e
commit 02a6dc6c48
435 changed files with 69567 additions and 1522 deletions

30
go/jsruntime/types.d.ts vendored Normal file
View File

@@ -0,0 +1,30 @@
// Ambient type declarations for tsserver. The bundler doesn't read
// tsconfig.json — this file only exists so editor integrations
// (tsserver, VS Code) can type-check .tsx / .ts source without an npm
// install.
export * from 'solid-js'
// --- Custom types ------------------------------------------------
type UUID =
`${string & {readonly __hex: never}}-${string & {readonly __hex: never}}-${string & {readonly __hex: never}}-${string & {readonly __hex: never}}-${string & {readonly __hex: never}}`;
// Ammended Modules: this covers adding attributes to pre-existing html primitives
declare module "solid-js" {
namespace JSX {
interface ExplicitProperties {
// count: number;
// name: string;
}
interface ExplicitAttributes {
// count: number;
// name: string;
onAbort: any;
onabort: any;
key: any;
}
interface ExplicitBoolAttributes {
// disabled: boolean;
}
}
}