fifa666's recent timeline updates
fifa666

fifa666

V2EX member #380758, joined on 2019-01-29 10:34:04 +08:00
fifa666's recent replies
interface PayloadMap {
join: 'join';
offer: RTCSessionDescriptionInit;
answer: RTCSessionDescriptionInit;
icecandidate: RTCIceCandidateInit;
leave: 'leave';
}

interface Message<T, P extends keyof T> {
type: P;
nick: string;
id: string;
payload: T[P];
}


const m: Message<PayloadMap, 'join'> = {
type: 'join',
nick: 'Fuck',
id: '123456',
payload: "join"
};
interface MyProps {
x: number;
y: string;
}

type getMyValue<P, T> = P extends keyof T ? T[P] : T

type x = getMyValue<'x', MyProps>;
type y = getMyValue<'y', MyProps>;
type val = getMyValue<unknown, MyProps>;
这样也可以
可以的,开发者模式里面能看见网络请求过程
楼主还好吗?
这还说啥啊,直接刚,都已经转正了,n+1 赔偿呗。没签离职协议之前肯定要去上班。撕逼时记住录音
首页的轮播有点问题啊
白嫖托儿所
白嫖科技
Nov 6, 2019
Replied to a topic by zhangmaozhu988 PHP PHP 真的招不到人了吗?
@lzxgh621 那么问题来了,找工作的人去哪里了。(手动滑稽)
Nov 4, 2019
Replied to a topic by wyan453351466 程序员 代理 ip 高匿和普匿的差别是什么?
@tuding 不能吧
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5360 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 14ms · UTC 03:49 · PVG 11:49 · LAX 20:49 · JFK 23:49
♥ Do have faith in what you're doing.