adobe/adobe-client-data-layer

Provide type definition for TypeScript

開放

#99 建立於 2020年9月1日

 (2 則留言) (0 個反應) (0 位負責人)JavaScript (27 個分叉)auto 404
enhancementgood first issue

倉庫指標

星標
 (122 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南