【发布时间】:2021-05-01 01:41:35
【问题描述】:
我正在使用 Visual Studio 2019 处理 PuruVJ/macos-web 并收到此错误:
错误 TS2367 (TS) 此条件将始终返回 false,因为类型为 Light 和 Dark。
我尝试过使用else if,但这给了我同样的错误。
【问题讨论】:
-
请参阅How to Ask 页面。问题需要独立存在,最好是Minimal, Reproducible Example。
标签: javascript node.js