gleam-lang/gleam

Typescript declarations are not emitted with existing build directory

Open

#4,520 opened on Apr 29, 2025

View on GitHub
 (3 comments) (0 reactions) (0 assignees)Rust (21,417 stars) (960 forks)batch import
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

Contributor guide

Typescript declarations are not emitted with existing build directory · gleam-lang/gleam#4520 | Good First Issue