Commit graph

6 commits

Author SHA1 Message Date
anatawa12
2c7e152644
fix lints and kill any (#142)
* lint: fix lint warning that is easy to fix

* lint: typesafe signature of seqOrText

* lint: typesafe createLanguage and language

* lint: typesafe seq

* lint: typesafe Parser.option

* fix: node can be string

* lint: typesafe alt

* fix: invalid url in link element will cause error

* chore: get rid of any

* fix: unnecessary import

* lint: kill any but still with loose type checking

* Revert "lint: kill any but still with loose type checking"

This reverts commit 8c7462f4a745800499a63ecf0632df3647b3e22c.

* lint: kill any again

* test: write type test

* ci: upgrade node version for lint
2024-06-13 11:19:25 +09:00
syuilo
ae92c2a9d0 chore: use test instead of it 2023-02-04 09:30:39 +09:00
syuilo
3d3032aa71 Introduce coverage integration 2021-06-26 23:48:46 +09:00
syuilo
33432fa857 refactor: rename getNodeByType --> NodeType 2021-03-30 22:59:14 +09:00
syuilo
2b86b9b9b7 chore: add missing semicolon 2021-03-30 22:59:14 +09:00
syuilo
abded7db7d add getNodeByType utility function and introduce type test 2021-03-30 22:59:14 +09:00