adobe/adobe-client-data-layer

Provide type definition for TypeScript

Offen

#99 geöffnet am 01.09.2020

 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (27 Forks)auto 404
enhancementgood first issue

Repository-Metriken

Stars
 (122 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Not a bug, but a feature request: Many front end developers nowadays write their scripting code in TypeScript instead of JavaScript. It would be great if this project would provide type definitions for the data-layer object.

Even better would be, if it would be possible to just import it in any .ts file and use it directly as an object without relying on the window object. Because like this we can make sure the object is there as it will be in the same transpiled js file and we don't need the [] fallback.

Contributor Guide