V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  nebnyp410404  ›  全部回复第 1 页 / 共 1 页
回复总数  13
14 天前
回复了 RealApe 创建的主题 商业模式 临期食品怎么入行
昨天还在 pdd 买了临期的牛奶, 还有一个多月过期

欧亚 200ml * 16 , 单价是 1.2 每瓶。
@ZettarYuFan #4 都说老家消费水平赶上一线城市了, 实际上一线城市消费水平,就正常的吃喝拉撒其实不咋花钱。。。
132 天前
回复了 tmkook 创建的主题 TypeScript typescript 如何返回一个动态对象类型
class schema {
func: Function
}

class a extends schema {
fun1: () => 1
}
class b extends schema{
fun2: () => 2
}

const objs = {
a:new a,
b:new b
}

type Key = keyof typeof objs;

function find<T extends Key>(key: T): typeof objs[T] {
return objs[key];
}

const cc = find('a')
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   1045 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 21ms · UTC 18:21 · PVG 02:21 · LAX 11:21 · JFK 14:21
♥ Do have faith in what you're doing.