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.

贡献者指南