// 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;
        }
    }
}