📜  ts(2503) - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:11.889000             🧑  作者: Mango

代码示例1
Your file extension is most likely `.ts` instead of `.tsx`.

Therefore TypeScript is interpreting 
as cast and tries to find a type Provider in the namespace ctx.