-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(blog): src/content/mediumcom/2024-09-21_23-00-12_987.mdx
- Loading branch information
Showing
1 changed file
with
327 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,327 @@ | ||
--- | ||
layout: ../../layouts/BlogLayout.astro | ||
title: Having Fun with TypeScript: Mapped Types | Dagang Wei | ||
description: Having Fun with TypeScript: Mapped Types | Dagang Wei | ||
date: 星期六 11 晚上 九月 21o 2024 | ||
author: mediumcom | ||
origin_url: https://medium.com/ | ||
origin_site: https://medium.com/ | ||
translated: true | ||
avatar: /media-source/mediumcom-ico.png | ||
email_recorder: [email protected] | ||
--- | ||
|
||
import { Detail } from '@/components/Detail.tsx'; | ||
import { Reference } from '@/components/Reference.tsx'; | ||
|
||
<Reference client:only="react" title="Having Fun with TypeScript: Mapped Types | Dagang Wei" url="https://medium.com/" /> | ||
|
||
<Detail client:only="react"> | ||
Today's highlights | ||
|
||
![Having Fun with TypeScript: Mapped Types](https://miro.medium.com/fit/c/320/214/1*3BIcyyfi1LPTodeoqXppKQ.png) | ||
|
||
## [Having Fun with TypeScript: Mapped Types](https://medium.com/@weidagang/having-fun-with-typescript-mapped-types-8e9b5521cb55?source=email-2b8b8ee19057-1726942243208-digest.reader--8e9b5521cb55----0-99------------------fa6353b0_b037_4c22_81b2_1dcad8d7c16e-1) | ||
|
||
### Introduction | ||
|
||
- author: **Dagang Wei** | ||
|
||
*** | ||
|
||
![If you want to become a better UX designer, put down your phone](https://miro.medium.com/fit/c/320/214/0*pRBtErJafUC4_PJh) | ||
|
||
## [If you want to become a better UX designer, put down your phone](https://medium.com/@fionalee./if-you-want-to-become-a-better-ux-designer-put-down-your-phone-03fc29691550?source=email-2b8b8ee19057-1726942243208-digest.reader-48e972f5c24e-03fc29691550----1-99------------------fa6353b0_b037_4c22_81b2_1dcad8d7c16e-1) | ||
|
||
### Here’s why | ||
|
||
- author: **Fiona LeeinBootcamp** | ||
|
||
*** | ||
|
||
![Micro Frontends: A Practical Step-by-Step Guide](https://miro.medium.com/fit/c/320/214/1*OlQsunH7kXFFctnuWb9RNw.png) | ||
|
||
## [Micro Frontends: A Practical Step-by-Step Guide](https://medium.com/@edenella/micro-frontends-a-practical-step-by-step-guide-df10edf0e8d0?source=email-2b8b8ee19057-1726942243208-digest.reader-5c2fdf847f4a-df10edf0e8d0----2-99------------------fa6353b0_b037_4c22_81b2_1dcad8d7c16e-1) | ||
|
||
### Building a Scalable Micro Frontends Solution with… | ||
|
||
- author: **Eden EllainBits and Pieces** | ||
|
||
*** | ||
|
||
![Unpacking Vinyl’s Remarkable Revival: A Statistical Analysis](https://miro.medium.com/fit/c/320/214/0*Ojby8yEyXFLAEDhe.jpeg) | ||
|
||
## [Unpacking Vinyl’s Remarkable Revival: A Statistical Analysis](https://medium.com/@stat_significant/unpacking-vinyls-remarkable-revival-a-statistical-analysis-6b2f77592d20?source=email-2b8b8ee19057-1726942243208-digest.reader-c7435de990ae-6b2f77592d20----3-108------------------fa6353b0_b037_4c22_81b2_1dcad8d7c16e-1) | ||
|
||
### The fall and rise of vinyl and record stores | ||
|
||
- author: **Daniel ParrisinFanfare** | ||
|
||
*** | ||
|
||
![8 Apps To Setup On Your Mac To Maximize Your Productivity](https://miro.medium.com/fit/c/320/214/1*4Ngf6ZSZBXyOsi2JONyDDg.jpeg) | ||
|
||
## [8 Apps To Setup On Your Mac To Maximize Your Productivity](https://medium.com/@theusefultech/8-apps-to-setup-on-your-mac-to-maximize-your-productivity-545df8c66d8f?source=email-2b8b8ee19057-1726942243208-digest.reader-d1f54550947b-545df8c66d8f----4-99------------------fa6353b0_b037_4c22_81b2_1dcad8d7c16e-1) | ||
|
||
### These apps shouldn’t be free for the value they… | ||
|
||
- author: **The Useful TechinMac O’Clock** | ||
|
||
*** | ||
|
||
![How I implement Discord Authentication](https://miro.medium.com/fit/c/320/214/0*zFIJydGs4OTmDMXI.jpg) | ||
|
||
## [How I implement Discord Authentication](https://medium.com/@whyafan/how-to-use-nextauth-js-with-discord-d2f274c4c1b4?source=email-2b8b8ee19057-1726942243208-digest.reader-4b3a1ed4f11c-d2f274c4c1b4----5-99------------------fa6353b0_b037_4c22_81b2_1dcad8d7c16e-1) | ||
|
||
### Learn how to implement “Login using Discord” using… | ||
|
||
- author: **Afan KhaninJavaScript in Plain English** | ||
|
||
*** | ||
|
||
![Circling Vultures](https://miro.medium.com/fit/c/320/214/0*jeQb9xFFk6Y3W3AN) | ||
|
||
## [Circling Vultures](https://medium.com/@rlandok/circling-vultures-def554c83343?source=email-2b8b8ee19057-1726942243208-digest.reader--def554c83343----6-99------------------fa6353b0_b037_4c22_81b2_1dcad8d7c16e-1) | ||
|
||
### For the 4th of July | ||
|
||
- author: **Mike Meyer** | ||
|
||
*** | ||
|
||
![Python’s Parallel Paradigm Shift](https://miro.medium.com/fit/c/320/214/1*w8rtq5WSDxMLZ5l4v2bfeg.png) | ||
|
||
## [Python’s Parallel Paradigm Shift](https://medium.com/@thomas_reid/pythons-parallel-paradigm-shift-2bb40d3c2dd0?source=email-2b8b8ee19057-1726942243208-digest.reader-7f60cf5620c9-2bb40d3c2dd0----7-99------------------fa6353b0_b037_4c22_81b2_1dcad8d7c16e-1) | ||
|
||
### Exploring the performance potential of a GIL-free… | ||
|
||
- author: **Thomas ReidinTowards Data Science** | ||
|
||
*** | ||
|
||
![Easy Software Engineering Wins for This Week](https://miro.medium.com/fit/c/320/214/0*mT8oqMkqszHwvl-6) | ||
|
||
## [Easy Software Engineering Wins for This Week](https://medium.com/@tsecretdeveloper/easy-software-engineering-wins-for-this-week-9ee5d342c269?source=email-2b8b8ee19057-1726942243208-digest.reader--9ee5d342c269----8-99------------------fa6353b0_b037_4c22_81b2_1dcad8d7c16e-1) | ||
|
||
### Aim for these | ||
|
||
- author: **The Secret Developer** | ||
|
||
*** | ||
|
||
![Jamba 1.5: Two New Hybrid Transformers/SSM of 52B and 398B Parameters](https://miro.medium.com/fit/c/320/214/0*8vEgv_8T3yT2VS9O.png) | ||
|
||
## [Jamba 1.5: Two New Hybrid Transformers/SSM of 52B and 398B Parameters](https://medium.com/@bnjmn_marie/jamba-1-5-two-new-hybrid-transformers-ssm-of-52b-and-398b-parameters-8636e35233f0?source=email-2b8b8ee19057-1726942243208-digest.reader-d1baaa8417a4-8636e35233f0----9-99------------------fa6353b0_b037_4c22_81b2_1dcad8d7c16e-1) | ||
|
||
### Huge but very efficient, especially for long-context… | ||
|
||
- author: **Benjamin MarieinStackademic** | ||
|
||
*** | ||
|
||
![🌴 James Gosling, Founder Of Java Is Retiring](https://miro.medium.com/fit/c/320/214/1*JwHYnZbZR3_YuoKcK8s-5Q.png) | ||
|
||
## [🌴 James Gosling, Founder Of Java Is Retiring](https://medium.com/@tomaszs2/james-gosling-founder-of-java-is-retiring-2ef6166baf4a?source=email-2b8b8ee19057-1726942243208-digest.reader--2ef6166baf4a----10-99------------------fa6353b0_b037_4c22_81b2_1dcad8d7c16e-1) | ||
|
||
### The Java creator retires, leaving community greatful… | ||
|
||
- author: **Tom Smykowski** | ||
|
||
*** | ||
|
||
![Elon, We’ve All Made Shoddy Software. Own It.](https://miro.medium.com/fit/c/320/214/0*7EJxjf8KG1r0ytta) | ||
|
||
## [Elon, We’ve All Made Shoddy Software. Own It.](https://medium.com/@tsecretdeveloper/elon-weve-all-made-shoddy-software-own-it-f255dc3a80a3?source=email-2b8b8ee19057-1726942243208-digest.reader--f255dc3a80a3----11-99------------------fa6353b0_b037_4c22_81b2_1dcad8d7c16e-1) | ||
|
||
### We all need to do better | ||
|
||
- author: **The Secret Developer** | ||
|
||
*** | ||
|
||
![A Gentle Intro to TypeScript](https://miro.medium.com/fit/c/320/214/1*zxssX7lgqkgMCdAO_2-zHA.png) | ||
|
||
## [A Gentle Intro to TypeScript](https://medium.com/@denoland/a-gentle-intro-to-typescript-7cf8d27f2f50?source=email-2b8b8ee19057-1726942243208-digest.reader--7cf8d27f2f50----12-99------------------fa6353b0_b037_4c22_81b2_1dcad8d7c16e-1) | ||
|
||
### (Originally published on deno.com/blog.) | ||
|
||
- author: **Deno** | ||
|
||
*** | ||
|
||
![Common Issues in TypeScript Component Development](https://miro.medium.com/fit/c/320/214/1*601ZHbvuUoAT7HwEmx2Qkw.png) | ||
|
||
## [Common Issues in TypeScript Component Development](https://medium.com/@pickfranklee/common-issues-in-typescript-component-development-51a60e0b366d?source=email-2b8b8ee19057-1726942243208-digest.reader-5517fd7b58a6-51a60e0b366d----13-99------------------fa6353b0_b037_4c22_81b2_1dcad8d7c16e-1) | ||
|
||
### In modern front-end development, TypeScript has become… | ||
|
||
- author: **Crank LeeinLevel Up Coding** | ||
|
||
*** | ||
|
||
![Is TypeScript Really Making My Projects Better?](https://miro.medium.com/fit/c/320/214/0*E9Tu9djybaNcUCu6) | ||
|
||
## [Is TypeScript Really Making My Projects Better?](https://medium.com/@h5game/is-typescript-really-making-my-projects-better-2a40255f0b0e?source=email-2b8b8ee19057-1726942243208-digest.reader--2a40255f0b0e----14-99------------------fa6353b0_b037_4c22_81b2_1dcad8d7c16e-1) | ||
|
||
### TypeScript has become a very popular JavaScript… | ||
|
||
- author: **H5Game Developer** | ||
|
||
*** | ||
|
||
|
||
</Detail> | ||
|
||
今日亮点 | ||
|
||
![享受 TypeScript 的乐趣:映射类型](https://miro.medium.com/fit/c/320/214/1*3BIcyyfi1LPTodeoqXppKQ.png) | ||
|
||
## \[享受 TypeScript 的乐趣:映射类型]\(https://medium.com/@weidagang/having-fun-with-typescript-mapped-types-8e9b5521cb55?source=email-2b8b8ee19057-1726942243208-digest.reader-- 8e9b5521cb55----0-99-----------------fa6353b0\_b037\_4c22\_81b2\_1dcad8d7c16e-1) | ||
|
||
### 介绍 | ||
|
||
* 作者:**魏大刚** | ||
|
||
*** | ||
|
||
![如果你想成为一名更好的UX设计师,请放下手机](https://miro.medium.com/fit/c/320/214/0*pRBtErJafUC4_PJh) | ||
|
||
## 【如果你想成为一名更好的UX设计师,请放下手机】(https://medium.com/@fionalee./if-you-want-to-become-a-better-ux-designer-put -down-your-phone-03fc29691550?source=email-2b8b8ee19057-1726942243208-digest.reader-48e972f5c24e-03fc29691550----1-99--------------------------------fa6353b0\_b037\_4c22\_81b2\_1dcad8d7c16e -1) | ||
|
||
### 这就是原因 | ||
|
||
* 作者:**Fiona LeeinBootcamp** | ||
|
||
*** | ||
|
||
![微前端:实用分步指南](https://miro.medium.com/fit/c/320/214/1*OlQsunH7kXFFctnuWb9RNw.png) | ||
|
||
## \[微前端:实用分步指南]\(https://medium.com/@edenella/micro-frontends-a-practical-step-by-step-guide-df10edf0e8d0?source=email-2b8b8ee19057 -1726942243208-digest.reader-5c2fdf847f4a-df10edf0e8d0----2-99-----------------fa6353b0\_b037\_4c22\_81b2\_1dcad8d7c16e-1) | ||
|
||
### 使用...构建可扩展的微前端解决方案 | ||
|
||
* 作者: **Eden EllainBits and Pieces** | ||
|
||
*** | ||
|
||
![揭秘 Vinyl 的非凡复兴:统计分析](https://miro.medium.com/fit/c/320/214/0*Ojby8yEyXFLAEDhe.jpeg) | ||
|
||
## [揭开 Vinyl 的显着复兴:统计分析](https://medium.com/@stat_significant/unpacking-vinyls-remarkable-revival-a-statistical-analysis-6b2f77592d20?source=email-2b8b8ee19057-1726942243208-digest.读者-c7435de990ae-6b2f77592d20----3-108--------------------fa6353b0_b037_4c22_81b2_1dcad8d7c16e-1) | ||
|
||
### 黑胶唱片店和唱片店的兴衰 | ||
|
||
* 作者:**丹尼尔·帕里辛Fanfare** | ||
|
||
*** | ||
|
||
![在 Mac 上安装 8 个应用程序以最大限度地提高工作效率](https://miro.medium.com/fit/c/320/214/1*4Ngf6ZSZBXyOsi2JONyDDg.jpeg) | ||
|
||
## \[在 Mac 上安装 8 个应用程序以最大限度地提高工作效率]\(https://medium.com/@theusefultech/8-apps-to-setup-on-your-mac-to-maximize-your-productivity-545df8c66d8f ?source=email-2b8b8ee19057-1726942243208-digest.reader-d1f54550947b-545df8c66d8f----4-99------------------fa6353b0\_b037\_4c22\_81b2\_1dcad8d7c16e-1) | ||
|
||
### 这些应用程序不应该因为它们的价值而免费...... | ||
|
||
* 作者:**有用的 TechinMac O’Clock** | ||
|
||
*** | ||
|
||
![如何实现 Discord 身份验证](https://miro.medium.com/fit/c/320/214/0*zFIJydGs4OTmDMXI.jpg) | ||
|
||
## \[如何实现 Discord 身份验证]\(https://medium.com/@whyafan/how-to-use-nextauth-js-with-discord-d2f274c4c1b4?source=email-2b8b8ee19057-1726942243208-digest.reader-4b3a1ed4f11c -d2f274c4c1b4----5-99--------------------fa6353b0\_b037\_4c22\_81b2\_1dcad8d7c16e-1) | ||
|
||
### 了解如何使用……实现“使用 Discord 登录” | ||
|
||
* 作者:**Afan KhaninJavaScript 简单英语** | ||
|
||
*** | ||
|
||
![盘旋秃鹰](https://miro.medium.com/fit/c/320/214/0*jeQb9xFFk6Y3W3AN) | ||
|
||
## \[盘旋秃鹰]\(https://medium.com/@rlandok/circling-vultures-def554c83343?source=email-2b8b8ee19057-1726942243208-digest.reader--def554c83343----6-99----- -------------fa6353b0\_b037\_4c22\_81b2\_1dcad8d7c16e-1) | ||
|
||
### 7 月 4 日 | ||
|
||
* 作者: **迈克·迈耶** | ||
|
||
*** | ||
|
||
![Python 的并行范式转变](https://miro.medium.com/fit/c/320/214/1*w8rtq5WSDxMLZ5l4v2bfeg.png) | ||
|
||
## \[Python 的并行范式转变]\(https://medium.com/@thomas\_reid/pythons-parallel-paradigm-shift-2bb40d3c2dd0?source=email-2b8b8ee19057-1726942243208-digest.reader-7f60cf5620c9-2bb40d3c2dd0----7 -99------------------fa6353b0\_b037\_4c22\_81b2\_1dcad8d7c16e-1) | ||
|
||
### 探索无 GIL 的性能潜力…… | ||
|
||
* 作者:**Thomas Reidin 走向数据科学** | ||
|
||
*** | ||
|
||
![本周轻松软件工程获胜](https://miro.medium.com/fit/c/320/214/0*mT8oqMkqszHwvl-6) | ||
|
||
## \[轻松软件工程本周获胜]\(https://medium.com/@tsecretdeveloper/easy-software-engineering-wins-for-this-week-9ee5d342c269?source=email-2b8b8ee19057-1726942243208-digest.reader --9ee5d342c269----8-99--------------------------------fa6353b0\_b037\_4c22\_81b2\_1dcad8d7c16e-1) | ||
|
||
### 瞄准这些 | ||
|
||
* 作者:**秘密开发者** | ||
|
||
*** | ||
|
||
![Jamba 1.5:两款新型混合变压器/52B 和 398B 参数的 SSM](https://miro.medium.com/fit/c/320/214/0*8vEgv_8T3yT2VS9O.png) | ||
|
||
## \[Jamba 1.5:两个新的混合变压器/52B 和 398B 参数的 SSM]\(https://medium.com/@bnjmn\_marie/jamba-1-5-two-new-hybrid-transformers-ssm-of-52b- and-398b-parameters-8636e35233f0?source=email-2b8b8ee19057-1726942243208-digest.reader-d1baaa8417a4-8636e35233f0----9-99--------------------fa6353b0\_b037\_4c22\_81b2\_1dcad8d7 c16e- 1) | ||
|
||
### 巨大但非常高效,特别是对于长上下文...... | ||
|
||
* 作者: **Benjamin MarieinStackademic** | ||
|
||
*** | ||
|
||
![🌴Java 创始人 James Gosling 即将退休](https://miro.medium.com/fit/c/320/214/1*JwHYnZbZR3_YuoKcK8s-5Q.png) | ||
|
||
## \[🌴Java 创始人 James Gosling 即将退休]\(https://medium.com/@tomaszs2/james-gosling-Founder-of-java-is-retiring-2ef6166baf4a?source=email-2b8b8ee19057-1726942243208-digest .reader--2ef6166baf4a----10-99--------------------fa6353b0\_b037\_4c22\_81b2\_1dcad8d7c16e-1) | ||
|
||
### Java 创建者退休,让社区充满感激…… | ||
|
||
* 作者: **汤姆·斯米科斯基** | ||
|
||
*** | ||
|
||
![Elon,我们都制作了劣质软件。拥有它。](https://miro.medium.com/fit/c/320/214/0*7EJxjf8KG1r0ytta) | ||
|
||
## \[Elon,我们都制作了劣质软件。拥有它。]\(https://medium.com/@tsecretdeveloper/elon-weve-all-made-shoddy-software-own-it-f255dc3a80a3?source=email-2b8b8ee19057-1726942243208-digest.reader--f255dc3a80a3-- --11-99------------------fa6353b0\_b037\_4c22\_81b2\_1dcad8d7c16e-1) | ||
|
||
### 我们都需要做得更好 | ||
|
||
* 作者:**秘密开发者** | ||
|
||
*** | ||
|
||
![TypeScript 简单介绍](https://miro.medium.com/fit/c/320/214/1*zxssX7lgqkgMCdAO_2-zHA.png) | ||
|
||
## \[TypeScript 简单介绍]\(https://medium.com/@enoland/a-gentle-intro-to-typescript-7cf8d27f2f50?source=email-2b8b8ee19057-1726942243208-digest.reader--7cf8d27f2f50--- -12-99------------------fa6353b0\_b037\_4c22\_81b2\_1dcad8d7c16e-1) | ||
|
||
\###(最初发布于 deno.com/blog。) | ||
|
||
* 作者: **德诺** | ||
|
||
*** | ||
|
||
![TypeScript组件开发中的常见问题](https://miro.medium.com/fit/c/320/214/1*601ZHbvuUoAT7HwEmx2Qkw.png) | ||
|
||
## \[TypeScript 组件开发中的常见问题]\(https://medium.com/@pickfranklee/common-issues-in-typescript-component-development-51a60e0b366d?source=email-2b8b8ee19057-1726942243208-digest.reader-5517fd7b58a6- 51a60e0b366d----13-99-----------------fa6353b0\_b037\_4c22\_81b2\_1dcad8d7c16e-1) | ||
|
||
### 在现代前端开发中,TypeScript 已经成为...... | ||
|
||
* 作者:**Crank LeeinLevel Up Coding** | ||
|
||
*** | ||
|
||
![TypeScript 真的能让我的项目变得更好吗?](https://miro.medium.com/fit/c/320/214/0*E9Tu9djybaNcUCu6) | ||
|
||
## [TypeScript 真的能让我的项目变得更好吗?](https://medium.com/@h5game/is-typescript-really-making-my-projects-better-2a40255f0b0e?source=email-2b8b8ee19057-1726942243208-digest.读卡器--2a40255f0b0e----14-99--------------------fa6353b0_b037_4c22_81b2_1dcad8d7c16e-1) | ||
|
||
### TypeScript 已经成为一种非常流行的 JavaScript... | ||
|
||
* 作者: **H5游戏开发者** | ||
|
||
*** | ||
|
||
|