cuixiaorui / study-every-day

stduy programming skills of javascript every day
110 stars 32 forks source link

【每日计划】 2022-01-18 #314

Open cuixiaorui opened 2 years ago

cuixiaorui commented 2 years ago

如何写每日任务

luhaifeng666 commented 2 years ago

学习

fengjinlong commented 2 years ago

重要的事情 🍎

学习的事情 🧑‍💻

工地的事情 💤

生活的事情🍒

icodeish commented 2 years ago

重要的事

fatFire commented 2 years ago

学习计划

bigfatDone commented 2 years ago

image

myltx commented 2 years ago

image

ch3cknull commented 2 years ago

每日计划模板

读书

编码练习

(该模板使用ch3cknull/auto-issue-comment自动生成)

J-django commented 2 years ago

image

action-hong commented 2 years ago

重要的事

学习

生活

qinran0423 commented 2 years ago

截屏2022-01-18 上午10 00 49

yekezz commented 2 years ago

学习

工作

---- 来自vscode插件 "Study Plan"

CsongL commented 2 years ago

image

cuixiaorui commented 2 years ago

重要的事

学习

生活

xiaoxiayan commented 2 years ago

每日计划 2022-01-18


重要的事

提升自己

其他

ghost commented 2 years ago

Task

电商后台管理

Preview

Song0129 commented 2 years ago

每日任务

prefect-song commented 2 years ago

学习

Artsmp commented 2 years ago

学习

工作

日常

Vixcity commented 2 years ago

2022-01-18日计划

2022-01-18日计划创建时间:2022-01-18 星期二 09:29 2022-01-18日计划创建人:Vixcity

重要的事

学习

生活

今日工作内容

laddish commented 2 years ago

2022-01-18_周二

study-every-day

https://github.com/cuixiaorui/study-every-day/issues/

重要的事

生活

readonly

https://github.com/type-challenges/type-challenges/blob/master/questions/7-easy-readonly/README.md

给所有属性前面都加上 readonly


* 使用 lookup 关键字 **keyof** 去拿到接口的所有值
* 需要遍历,用到知识点 mapped, 涉及关键字 **in**
* 加上关键字 **readonly**
* 通过 key 来获取接口里面的值  **indexed**

```typescript
type MyReadonly<T> = {
    readonly [P in keyof T]:T[P]
}

pick

type MyPick<T,K extends keyof T> = {
    [P in K]:T[P]
}
zhenyuWang commented 2 years ago

昨天完成

leetcode-491-递增子序列 B站 leetcode-面试题 04.12-求和路径 B站 面试题-let是否会造成变量提升?

今天要做

输出文章-0.1+0.2 等于 0.3 吗? 面试题-介绍一下this指向4种形式