codeceptjs / codeceptjs/CodeceptJS

types are not being exported

Offen
#4,921 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
stale
Vorherrschende Sprache
JavaScript
Sterne
4.2k
Forks
757
Ø Merge
2 T. 9 Std.
Gemergte PRs (30 T.)
16

Beschreibung

In version 3.7.2 the package.json contains a types and a exports section. The export section does not include the types so the types cannot be exported.

I guess its introduced here: https://github.com/codeceptjs/CodeceptJS/pull/4703/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519

The export section must at least also expose the typing map to be able to load it into typescript project

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.