SFC Playground does not report type errors in `App.vue` with `lang="ts"` until refresh
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- typescript
調査の方向性
Reproduce the issue in the Vue SFC Playground using App.vue with script setup lang="ts", then compare its behavior with a newly created component and a .ts file. Trace the refresh-triggered type-checking path; done means the type error on '' satisfies number appears immediately without refreshing.
索引モデルが issue の本文から書いたものです。
説明
Vue version
Any version available on Playground
Link to minimal reproduction
Steps to reproduce
- Open a fresh Vue SFC Playground.
- Modify the starter code of
App.vueas follows:
- <script setup>
+ <script setup lang="ts">
import { ref } from 'vue'
const msg = ref('Hello World!')
+ '' satisfies number
</script>
What is expected?
Type error to be reported on line '' satisfies number.
What is actually happening?
Type error does not get reported, until refreshing the playground.
System Info
Any additional comments?
The issue seems to specifically affect App.vue, as it is not reproducible with the same steps but on a newly created component (or a .ts file).
- 主要言語
- TypeScript
- スター
- 1.1k
- フォーク
- 222
- 平均マージ
- 2時間 10分
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
vuejs/repl のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
Feat request: export injectKeyProps再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 74/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 58/100
-
using Sandbox with clearConsole false,there would be a warning message on the browser's consoleオープン
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
ai-driven-qa bug claude Cosmetic
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
Domain / chatbot New
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
Inist-CNRS/lodex#3861 ·
メンテナーはふだん 1 日以内に返信
-
area:agent-sdk area:docs documentation enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
anthropics/claude-code#110914 ·
-
area/cli platform/windows type/bug version/v2
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
anomalyco/opencode#64631 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信