paledream 最近的时间轴更新
paledream's repos on GitHub
TypeScript · 10 人关注
x-enum
A simple enum management library build with TypeScript.
JavaScript · 8 人关注
PixivLink
a chrome extension that help you open the pixiv page by id and some other features
TypeScript · 0 人关注
ant-design
An enterprise-class UI design language and React UI library
TypeScript · 0 人关注
antd-toy
0 人关注
dts-shop
微信小程序,小程序商城,商城,springboot框架,vue管理系统,java后台
TypeScript · 0 人关注
hooks
A high-quality & reliable React Hooks library.
0 人关注
node-ts-template
TypeScript · 0 人关注
pro-components
🏆 Use Ant Design like a Pro!
paledream

paledream

V2EX 第 138084 号会员,加入于 2015-09-13 13:50:02 +08:00
今日活跃度排名 3336
🔧写了个前端维护枚举值的小工具
分享创造  •  paledream  •  84 天前  •  最后回复来自 Trim21
6
农村乡县的劳动力是如何寻找工作的?
问与答  •  paledream  •  112 天前  •  最后回复来自 istarsseas
9
求推荐比金粉轴要轻的轴体
问与答  •  paledream  •  178 天前  •  最后回复来自 Pony69
9
如何提升概括表达能力?
问与答  •  paledream  •  257 天前  •  最后回复来自 paledream
22
请问西湖区黄龙的合租单间房租大概多少区间?
杭州  •  paledream  •  2017-08-14 14:09:19 PM  •  最后回复来自 paledream
4
JS 创建实例时,为什么原型里的基础类型不会被共享?
问与答  •  paledream  •  2017-08-08 10:11:29 AM  •  最后回复来自 paledream
18
在找实习中,问下 V 友,这样的公司应该去吗?
求职  •  paledream  •  2017-09-05 13:44:56 PM  •  最后回复来自 2144207397
34
ubuntu gnome 安装 vscode 后无法打开
问与答  •  paledream  •  2017-05-01 17:59:24 PM  •  最后回复来自 sagaxu
3
paledream 最近回复了
1 小时 51 分钟前
回复了 asdqaz 创建的主题 奇思妙想 《我的高考》--人生的转折
除了第一段,其余感觉都像是废话,没啥信息

`像是在舞台放了个屁,除了自己爽了,观众啥也没看到`
10 天前
回复了 jerrry 创建的主题 程序员 TS as const 类型提示问题
```ts

const OrderStatus = {
AWAITING_PAYMENT: {
value: 'AWAITING_PAYMENT',
label: '待支付'
},
AWAITING_DELIVER: {
value: 'AWAITING_DELIVER',
label: '待发货'
}
} as const

type OrderStatusType = typeof OrderStatus

type OrderStatusKey = keyof OrderStatusType

type Enum = {
[key in OrderStatusKey]: OrderStatusType[key]['value']
}

const OrderStatusEnum = Object.keys(OrderStatus).reduce((acc, key) => {
acc[key] = OrderStatus[key].value
return acc
}, {} as Enum)

```


写完后发现和 1L 差不多
14 天前
回复了 coolpace 创建的主题 分享创造 ▲ V2EX Polish 在 5 月份更新了什么?🟢
右侧个人信息模块可以设置隐藏吗,不想被人窥屏看见信息
如果是比较传统保守的人,1 可以理解
但是 2 又感觉不是传统保守的观点,有点偏现代小仙女,女拳思想荼毒者

感觉有些矛盾
```typescript
enum VerticalAlign {
bottom = 1, center = 2, top = 3
}

type K = keyof typeof VerticalAlign

function getVerticalAlign(data:any): VerticalAlign {
let value: K = data['vAlign'];
return VerticalAlign[value]
}

```
『人情世故』『世态炎凉』展开讲讲?
51 天前
回复了 isno 创建的主题 程序员 宣传下我的 Github 仓库
感谢分享
52 天前
回复了 582217 创建的主题 问与答 求推荐高质量的梯
一直在用的金坷垃,节点比较多,还行
aHR0cHM6Ly9qaW5rZWxhLmFwcC9hdXRoL3JlZ2lzdGVyP2NvZGU9QzF3cw==
珍惜应届生身份,选调、烟草、电网、公务员都试试
关于   ·   帮助文档   ·   博客   ·   nftychat   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3236 人在线   最高记录 5634   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 34ms · UTC 04:56 · PVG 12:56 · LAX 21:56 · JFK 00:56
Developed with CodeLauncher
♥ Do have faith in what you're doing.