gleam-lang/gleam

Add integration test for typescript type definitions (d.ts)

Open

#2,003 opened on Feb 14, 2023

View on GitHub
 (0 comments) (8 reactions) (0 assignees)Rust (21,417 stars) (960 forks)batch import
good first issuehelp wanted

Description

Issue #1998 was found when trying to use the type definitions with the TypeScript compiler. Maybe it would be a good idea to add add a small integration test that can be run in CI for testing the type definitions. A minimal JavaScript project that uses some type definitions generated from Gleam code and tries to compile with the TypeScript compiler. Probably this doesn't need to be done on all the cross-compilation targets, but unsure what is the easiest way to integrate this in the current CI pipeline.

Contributor guide