网站首页 站内搜索

搜索结果

查询Tags标签: myVehicle,共有 1条记录
  • [Typescript] Exhaustive conditionals - UnreachableError helper class

    class UnreachableError extends Error {constructor(_nvr: never, message: string) {super(message)} }class Car {drive() {console.log("vroom")} } class Truck {tow() {console.log("dragging something")} } class Boat {isFloating() {return…

    2022/8/3 6:52:47 人评论 次浏览
扫一扫关注最新编程教程