Codegen Does Not Generate Files for .tsx File Type
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 35/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- react-native, typescript
研究方向
首先,將文件中記載的 .ts 和 .tsx 規格副檔名的 codegen 行為,與 issue 中連結的 Native Modules 文件進行比較。使用 .tsx 的 Turbo Module 規格能夠按照文件所述產生其 codegen 原始碼,即表示完成。
由索引模型根據 Issue 內容生成。
描述
This documentation states that "The (spec) file must be named Native<MODULE_NAME>, with a .js or .jsx extension when using Flow, or a .ts, or .tsx extension when using TypeScript". However when I was creating a Turbo Module on canary last week, the codegen file would only generate if I set the file type to ts. It would not generate the codegen source if the file type was .tsx.
- 主要語言
- C#
- 星號
- 544
- 分支
- 218
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
我們還沒有檢查這個專案的環境設定檔。先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
microsoft/react-native-windows-samples 的其他 Issue
-
bug documentation Needs: Triage :mag:
難度 2/5 1-3 小時 新手友好度 78/100
-
bug documentation Needs: Triage :mag:
難度 2/5 1-3 小時 新手友好度 72/100
-
documentation enhancement good first issue good first issue: easy
難度 1/5 1 小時以內 新手友好度 82/100
microsoft/react-native-windows-samples#861 · 2 則留言 ·
-
Update the sample projects to be compatible with react-native-windows 0.82.0-preview.8可能重新可做 @iamAbhi-916 於 241 天前認領,目前沒有進行中的 PR。 未關閉enhancement Workstream: Gallery and Samples
microsoft/react-native-windows-samples#1141 · 已指派 1 人 ·
-
Update CI pipeline to windows-latest when main has changes ready可能重新可做 @vineethkuttan 於 328 天前認領,目前沒有進行中的 PR。 未關閉bug
microsoft/react-native-windows-samples#1099 · 已指派 1 人 ·
查看 microsoft/react-native-windows-samples 的全部 Issue
相似的 Issue
-
Money Exploits未關閉S: Untriaged
難度 2/5 1-3 小時 新手友好度 62/100
project-wayfarer/wayfarer-14#1628 ·
維護者通常 3 天內回覆
-
:watch: Not Triaged dotnet-target-version
難度 1/5 1 小時以內 新手友好度 85/100
維護者通常 1 天內回覆
-
copilot documentation
難度 2/5 1-3 小時 新手友好度 88/100
維護者通常 2 天內回覆
-
untriaged
難度 2/5 1-3 小時 新手友好度 86/100
dotnet/dotnet-api-docs#13124 ·
維護者通常 1 天內回覆
-
agentic-workflows
難度 2/5 1-3 小時 新手友好度 74/100
維護者通常 1 天內回覆