I was following along the first blog post and npx tsc was failing until I added import { lex } from "./lexer.mjs"; in index.mts. I see you have that line in the code in the repo but it is not mentioned in the blog. After that all worked OK as per blog post.
I was following along the first blog post and npx tsc was failing until I added
import { lex } from "./lexer.mjs";in index.mts. I see you have that line in the code in the repo but it is not mentioned in the blog. After that all worked OK as per blog post.