likoshow's recent timeline updates
likoshow

likoshow

V2EX member #32108, joined on 2013-01-10 22:28:04 +08:00
likoshow's recent replies
Apr 14, 2021
Replied to a topic by machtimes 投资 股市何时进入风险较小?
进去之后才会发现,90%的风险问题是之前没想到到,各种黑天鹅
Dec 16, 2020
Replied to a topic by shallyy 职场话题 拿到了券商的 offer base 也太低了
@codingAlex 对大部分人来说,不能炒股是保护吧
最好升级电箱,我最近老跳闸
type ReturnObj<T extends string> = {
[key in T]: any;
};

interface Foo {
name: string;
type: string;
}

function transform<T extends Foo['name']>(arr: {
name: T,
type: string
}[]) {
const obj = {} as ReturnObj<T>
arr.forEach(item => {
obj[item.name] = {
// ...
};
});
return obj as ReturnObj<T>
}

const result = transform([
{ name: "tom", type: "confirm" },
{ name: "jack", type: "confirm" }
]);
@17681880207 我也是这个感觉。奎元馆真吃不来。
+1,领取成功
@ByZHkc3 他们确实有在现场招人呢
是有点贵。要不考虑下萧山?
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5411 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms · UTC 08:09 · PVG 16:09 · LAX 01:09 · JFK 04:09
♥ Do have faith in what you're doing.