• Toni Alatalo's avatar
    Prompts: align examples to TypeScript (.tsx/.ts) to avoid .jsx drift (#1076) · e6c92a24
    Toni Alatalo 提交于
    The prompt text says:
    
    > - Use TypeScript.
    
    But in the examples there are .jsx files.
    
    I got errors sometimes (in my fork with other changes too) that JSX got
    generated instead of TSX. This seems to have fixed it for me.
        
    <!-- This is an auto-generated description by cubic. -->
    ---
    
    ## Summary by cubic
    Updated system prompt examples to use .tsx/.ts instead of .jsx/.js,
    matching the “Use TypeScript” instruction. This prevents JSX drift and
    reduces cases where generated code uses JSX instead of TSX.
    
    <!-- End of auto-generated description by cubic. -->
    e6c92a24
名称
最后提交
最后更新
..
inspiration_prompts.tsx 正在载入提交数据...
summarize_chat_system_prompt.ts 正在载入提交数据...
supabase_prompt.ts 正在载入提交数据...
system_prompt.ts 正在载入提交数据...