Skip to content

convert to typescript - #68

Merged
tinfoilhash merged 4 commits into
developmentfrom
convert-to-typescript
Nov 4, 2026
Merged

tinfoilhash merged 4 commits into
developmentfrom
convert-to-typescript

Conversation

@tinfoilhash

Copy link
Copy Markdown
Owner

every module, test, and config is now typescript at the strictness in tsconfig.json, and vp check checks types through tsgolint. AGENTS.md and the readme describe the new conventions.

lit properties stay in static properties with a declare field each, since vite+ 1.5 passes standard decorators through untranspiled. reactive state is private _name, and every other internal member is #name. the stylelint config stays javascript, since loading a typescript one needs the typescript package.

a few behavior changes came out of the types: a profile picture that isn't a string counts as no picture, tags without a name are skipped, going back no longer throws when the previous history entry has no url, and publishing without an extension throws a friendly error (the button is already disabled then).

made with claude code + tinfoil hash · session f733cab3-1d11-4277-84f9-96698bda1377

tinfoilhash and others added 4 commits November 4, 2026 12:59
every module, test, and config is typescript at full strictness, and
`vp check` checks types through tsgolint. lit properties stay in
`static properties` with `declare` fields, since vite+ doesn't compile
standard decorators yet. the stylelint config stays javascript, since
loading a typescript one needs the `typescript` package.

> made with claude code + tinfoil hash · session `f733cab3-1d11-4277-84f9-96698bda1377`

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
`satisfies` catches a misspelled option next to a valid one, which the
static side's type check lets through. lit-plugin type-checks template
bindings in the editor against the `HTMLElementTagNameMap` entries.

> made with claude code + tinfoil hash · session `f733cab3-1d11-4277-84f9-96698bda1377`

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
this checks overrides & erasable syntax, marks set-once fields readonly,
types both event targets' listeners with one shared class, narrows the
status color to its three values, and moves every export to the bottom
of its file.

> made with claude code + tinfoil hash · session `f733cab3-1d11-4277-84f9-96698bda1377`

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
> made with claude code + tinfoil hash · session `f733cab3-1d11-4277-84f9-96698bda1377`

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tinfoilhash
tinfoilhash merged commit 6afb8f6 into development Nov 4, 2026
2 checks passed
@tinfoilhash
tinfoilhash deleted the convert-to-typescript branch November 4, 2026 22:28
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.

1 participant