gleam-lang/gleam
View on GitHubTypescript declarations are not emitted with existing build directory
Open
#4,520 opened on Apr 29, 2025
good first issuehelp wanted
Description
Given a gleam application with target = "javascript" will build the application just fine. However when I enable typescript_declarations = true in the gleam.toml config and build the project again, the .d.ts are not emitted until I rm -rf the build directory that was emitted without the declarations turned on.
gleam v1.10.0 runtime: javascript