GoogleCloudPlatform / GoogleCloudPlatform/functions-framework-nodejs

esm and typescript documentation

未关闭
#520 0 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
enhancement P3
主要语言
TypeScript
星标
1.4k
派生
181
PR 合并指标
30 天内没有已合并 PR

描述

there exists docs for esm and typescript separately, both nothing on how to use them together.

A best practice documentation for this would be very helpful.

In tsconfig.json should for example `"module": "NodeNext",` be used?

贡献指南

打开贡献指南

调研方向

首先阅读现有的 ESM 和 TypeScript 文档,并检查这个 Node.js 框架目前如何描述模块配置。定义受支持的组合和推荐的 tsconfig.json 设置,然后添加一个示例,说明如何结合使用 ESM 和 TypeScript。完成的标准是:指南涵盖相关设置,且不会留下未解决的配置问题。

由索引模型根据 Issue 内容生成。

评估

技术栈
node.js, typescript
领域
documentation
Issue 类型
文档
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。