---
title: "X 归档 2022-08-04"
date: "2022-08-04"
tags:
  - x-archive
  - frontend
---

<div class="x-arch-meta">8 条动态 · 图 1 · 视频 2</div>
<div class="x-arch-day">
  <div class="x-arch-item">
    <input type="radio" name="xl-1554866180929622017" id="xl-1554866180929622017-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1554866180929622017" id="xl-1554866180929622017-orig" class="x-arch-lang-input x-arch-lang-input-orig" aria-label="显示原文" /><div class="x-arch-head"><img class="x-arch-avatar" src="https://twimg.tweb.xin/twimg/profile_images/1534337545177337857/CBPjHJ6o_bigger.jpg" alt="" loading="lazy" referrerpolicy="no-referrer" /><span class="x-arch-kind x-arch-kind-liked" aria-label="赞" title="赞"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z" /></svg></span><a class="x-arch-author" href="https://x.com/Ionicframework" target="_blank" rel="nofollow noopener" data-name="ionic" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1534337545177337857/CBPjHJ6o_bigger.jpg">@Ionicframework</a><span class="x-arch-time">00:26</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1554866180929622017-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1554866180929622017-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/Ionicframework/status/1554866180929622017" target="_blank" rel="noopener">原推文<svg class="x-arch-ext" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 7h10v10" /><path d="M7 17 17 7" /></svg></a></div>
    <div class="x-arch-text x-arch-orig">📢 NEW RELEASE ALERT 📢<br /><br />Ionic v6.2 is here with tons of new features, including:<br /><br />🛞 Datetime wheel picker<br />🔵 Compact datetime button<br />🗓️ Multiple date selection<br /><br />But wait, there’s more! Checkout all the new features in the 6.2 announcement blog 👇<br /><br /><a href="https://ionicframework.com/blog/announcing-ionic-v6-2/" target="_blank" rel="noopener">https://ionicframework.com/blog/announcing-ionic-v6-2/</a></div>
    <div class="x-arch-text x-arch-trans">📢 新版本发布提醒 📢<br /><br />Ionic v6.2 来了，带来超多新特性，包括：<br /><br />🛞 日期时间滚轮选择器<br />🔵 紧凑型日期时间按钮<br />🗓️ 多日期选择<br /><br />等等，还有更多！在 6.2 发布博客里查看全部新特性 👇<br /><br /><a href="https://ionicframework.com/blog/announcing-ionic-v6-2/" target="_blank" rel="noopener">https://ionicframework.com/blog/announcing-ionic-v6-2/</a></div>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1554880732853583872" id="xl-1554880732853583872-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1554880732853583872" id="xl-1554880732853583872-orig" class="x-arch-lang-input x-arch-lang-input-orig" aria-label="显示原文" /><div class="x-arch-head"><img class="x-arch-avatar" src="https://twimg.tweb.xin/twimg/profile_images/1510259524271173638/lgTEVmRi_bigger.jpg" alt="" loading="lazy" referrerpolicy="no-referrer" /><span class="x-arch-kind x-arch-kind-posted" aria-label="发" title="发"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z" /><path d="m15 5 4 4" /></svg></span><a class="x-arch-author" href="https://x.com/threejs" target="_blank" rel="nofollow noopener" data-name="Three.js" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1510259524271173638/lgTEVmRi_bigger.jpg">@threejs</a><span class="x-arch-time">01:23</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1554880732853583872-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1554880732853583872-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/threejs/status/1554880732853583872" target="_blank" rel="noopener">原推文<svg class="x-arch-ext" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 7h10v10" /><path d="M7 17 17 7" /></svg></a></div>
    <div class="x-arch-text x-arch-orig">Live demos: <a href="https://mobile-nerf.github.io/" target="_blank" rel="noopener">https://mobile-nerf.github.io/</a></div>
    <div class="x-arch-text x-arch-trans">在线演示：<a href="https://mobile-nerf.github.io/" target="_blank" rel="noopener">https://mobile-nerf.github.io/</a></div>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1554882092286152704" id="xl-1554882092286152704-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1554882092286152704" id="xl-1554882092286152704-orig" class="x-arch-lang-input x-arch-lang-input-orig" aria-label="显示原文" /><div class="x-arch-head"><img class="x-arch-avatar" src="https://twimg.tweb.xin/twimg/profile_images/1534337545177337857/CBPjHJ6o_bigger.jpg" alt="" loading="lazy" referrerpolicy="no-referrer" /><span class="x-arch-kind x-arch-kind-posted" aria-label="发" title="发"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z" /><path d="m15 5 4 4" /></svg></span><a class="x-arch-author" href="https://x.com/Ionicframework" target="_blank" rel="nofollow noopener" data-name="ionic" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1534337545177337857/CBPjHJ6o_bigger.jpg">@Ionicframework</a><span class="x-arch-time">01:29</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1554882092286152704-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1554882092286152704-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/Ionicframework/status/1554882092286152704" target="_blank" rel="noopener">原推文<svg class="x-arch-ext" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 7h10v10" /><path d="M7 17 17 7" /></svg></a></div>
    <div class="x-arch-text x-arch-orig">📢 NEW RELEASE ALERT 📢<br /><br />Ionic v6.2 is here with tons of new features, including:<br /><br />🛞 Datetime wheel picker<br />🔵 Compact datetime button<br />🗓️ Multiple date selection<br /><br />But wait, there’s more! Checkout all the new features in the 6.2 announcement blog 👇<br /><br /><a href="https://ionicframework.com/blog/announcing-ionic-v6-2/" target="_blank" rel="noopener">https://ionicframework.com/blog/announcing-ionic-v6-2/</a></div>
    <div class="x-arch-text x-arch-trans">📢 新版本发布提醒 📢<br /><br />Ionic v6.2 来了，带来超多新特性，包括：<br /><br />🛞 日期时间滚轮选择器<br />🔵 紧凑型日期时间按钮<br />🗓️ 多日期选择<br /><br />等等，还有更多！在 6.2 发布博客里查看全部新特性 👇<br /><br /><a href="https://ionicframework.com/blog/announcing-ionic-v6-2/" target="_blank" rel="noopener">https://ionicframework.com/blog/announcing-ionic-v6-2/</a></div>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1554885654575726593" id="xl-1554885654575726593-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1554885654575726593" id="xl-1554885654575726593-orig" class="x-arch-lang-input x-arch-lang-input-orig" aria-label="显示原文" /><div class="x-arch-head"><img class="x-arch-avatar" src="https://twimg.tweb.xin/twimg/profile_images/1483168746713890818/R8U-3SFE_bigger.jpg" alt="" loading="lazy" referrerpolicy="no-referrer" /><span class="x-arch-kind x-arch-kind-posted" aria-label="发" title="发"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z" /><path d="m15 5 4 4" /></svg></span><a class="x-arch-author" href="https://x.com/orta" target="_blank" rel="nofollow noopener" data-name="bsky.app/profile/orta.io" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1483168746713890818/R8U-3SFE_bigger.jpg">@orta</a><span class="x-arch-time">01:43</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1554885654575726593-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1554885654575726593-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/orta/status/1554885654575726593" target="_blank" rel="noopener">原推文<svg class="x-arch-ext" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 7h10v10" /><path d="M7 17 17 7" /></svg></a></div>
    <div class="x-arch-text x-arch-orig">JavaScript tool authors will want to read up and have a think about this proposal to @typescript by @atcb <br /><br /><a href="https://github.com/microsoft/TypeScript/issues/50152" target="_blank" rel="noopener">https://github.com/microsoft/TypeScript/issues/50152</a></div>
    <div class="x-arch-text x-arch-trans">JavaScript 工具作者们值得读一读并思考 @atcb 提给 @typescript 的这个提案 <br /><br /><a href="https://github.com/microsoft/TypeScript/issues/50152" target="_blank" rel="noopener">https://github.com/microsoft/TypeScript/issues/50152</a></div>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1554887969814839298" id="xl-1554887969814839298-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1554887969814839298" id="xl-1554887969814839298-orig" class="x-arch-lang-input x-arch-lang-input-orig" aria-label="显示原文" /><div class="x-arch-head"><img class="x-arch-avatar" src="https://twimg.tweb.xin/twimg/profile_images/1666460461884211204/SmBm505D_bigger.jpg" alt="" loading="lazy" referrerpolicy="no-referrer" /><span class="x-arch-kind x-arch-kind-posted" aria-label="发" title="发"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z" /><path d="m15 5 4 4" /></svg></span><a class="x-arch-author" href="https://x.com/mattpocockuk" target="_blank" rel="nofollow noopener" data-name="Matt Pocock" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1666460461884211204/SmBm505D_bigger.jpg">@mattpocockuk</a><span class="x-arch-time">01:52</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1554887969814839298-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1554887969814839298-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/mattpocockuk/status/1554887969814839298" target="_blank" rel="noopener">原推文<svg class="x-arch-ext" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 7h10v10" /><path d="M7 17 17 7" /></svg></a></div>
    <div class="x-arch-text x-arch-orig">I'd love an API like this for generating types in TypeScript. I think it would make it feel a LOT more accessible - it can feel like magic and get you out of some tight spots.<br /><br />Does this exist?</div>
    <div class="x-arch-text x-arch-trans">真希望 TypeScript 有这样的类型生成 API。我觉得这会让它亲民得多——它像魔法一样，还能帮你走出一些窘境。<br /><br />这种东西存在吗？</div>
    <div class="x-arch-media">
      <a href="/cdn-media/x/2022-08/1554887969814839298-1.jpg" target="_blank" rel="noopener"><img class="x-arch-img" src="/cdn-media/x/2022-08/1554887969814839298-1.jpg" alt="@mattpocockuk 的配图 1/1" loading="lazy" decoding="async" width="1600" height="1496" /></a>
    </div>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1554889350059548672" id="xl-1554889350059548672-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1554889350059548672" id="xl-1554889350059548672-orig" class="x-arch-lang-input x-arch-lang-input-orig" aria-label="显示原文" /><div class="x-arch-head"><img class="x-arch-avatar" src="https://twimg.tweb.xin/twimg/profile_images/1538290860713988101/eOcPF9Yf_bigger.jpg" alt="" loading="lazy" referrerpolicy="no-referrer" /><span class="x-arch-kind x-arch-kind-posted" aria-label="发" title="发"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z" /><path d="m15 5 4 4" /></svg></span><a class="x-arch-author" href="https://x.com/Andersonmancini" target="_blank" rel="nofollow noopener" data-name="Anderson Mancini" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1538290860713988101/eOcPF9Yf_bigger.jpg">@Andersonmancini</a><span class="x-arch-time">01:58</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1554889350059548672-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1554889350059548672-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/Andersonmancini/status/1554889350059548672" target="_blank" rel="noopener">原推文<svg class="x-arch-ext" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 7h10v10" /><path d="M7 17 17 7" /></svg></a></div>
    <div class="x-arch-text x-arch-orig">Live: <a href="https://webgi-jewelry.vercel.app/" target="_blank" rel="noopener">https://webgi-jewelry.vercel.app/</a><br />💍Here is the #threejs jewelry landing page live link using @pixotronics with smooth materials transitions by @greensock, and a configurator. Hope you like it😊 #creativecoding  #threejsJourney</div>
    <div class="x-arch-text x-arch-trans">在线：<a href="https://webgi-jewelry.vercel.app/" target="_blank" rel="noopener">https://webgi-jewelry.vercel.app/</a><br />💍这是 #threejs 珠宝落地页的在线链接，使用 @pixotronics 打造，@greensock 实现丝滑的材质过渡，还带一个配置器。希望你喜欢😊 #creativecoding #threejsJourney</div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2022-08/1554889350059548672-poster.jpg" src="/cdn-media/x/2022-08/1554889350059548672-video.mp4" width="1280" height="720" data-duration="72" aria-label="@Andersonmancini 的视频"></video>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1555137178472161280" id="xl-1555137178472161280-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1555137178472161280" id="xl-1555137178472161280-orig" class="x-arch-lang-input x-arch-lang-input-orig" aria-label="显示原文" /><div class="x-arch-head"><img class="x-arch-avatar" src="https://twimg.tweb.xin/twimg/profile_images/465652495306731520/weqOd4wr_bigger.jpeg" alt="" loading="lazy" referrerpolicy="no-referrer" /><span class="x-arch-kind x-arch-kind-liked" aria-label="赞" title="赞"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z" /></svg></span><a class="x-arch-author" href="https://x.com/2ality" target="_blank" rel="nofollow noopener" data-name="2ality blog (INACTIVE)" data-avatar="https://twimg.tweb.xin/twimg/profile_images/465652495306731520/weqOd4wr_bigger.jpeg">@2ality</a><span class="x-arch-time">18:22</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1555137178472161280-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1555137178472161280-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/2ality/status/1555137178472161280" target="_blank" rel="noopener">原推文<svg class="x-arch-ext" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 7h10v10" /><path d="M7 17 17 7" /></svg></a></div>
    <div class="x-arch-text x-arch-orig">Parsing command line arguments with `util.parseArgs()` in Node.js<br /><a href="https://2ality.com/2022/08/node-util-parseargs.html" target="_blank" rel="noopener">https://2ality.com/2022/08/node-util-parseargs.html</a></div>
    <div class="x-arch-text x-arch-trans">在 Node.js 中用 `util.parseArgs()` 解析命令行参数<br /><a href="https://2ality.com/2022/08/node-util-parseargs.html" target="_blank" rel="noopener">https://2ality.com/2022/08/node-util-parseargs.html</a></div>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1555219176402300930" id="xl-1555219176402300930-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1555219176402300930" id="xl-1555219176402300930-orig" class="x-arch-lang-input x-arch-lang-input-orig" aria-label="显示原文" /><div class="x-arch-head"><img class="x-arch-avatar" src="https://twimg.tweb.xin/twimg/profile_images/1484240142743134210/9mrKbTuj_bigger.png" alt="" loading="lazy" referrerpolicy="no-referrer" /><span class="x-arch-kind x-arch-kind-liked" aria-label="赞" title="赞"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z" /></svg></span><a class="x-arch-author" href="https://x.com/laurentdelrey" target="_blank" rel="nofollow noopener" data-name="saint laurent del rey" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1484240142743134210/9mrKbTuj_bigger.png">@laurentdelrey</a><span class="x-arch-time">23:48</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1555219176402300930-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1555219176402300930-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/laurentdelrey/status/1555219176402300930" target="_blank" rel="noopener">原推文<svg class="x-arch-ext" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 7h10v10" /><path d="M7 17 17 7" /></svg></a></div>
    <div class="x-arch-text x-arch-orig">dj widget</div>
    <div class="x-arch-text x-arch-trans">DJ 小部件</div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2022-08/1555219176402300930-poster.jpg" src="/cdn-media/x/2026-10/1555219176402300930-video.mp4" width="720" height="720" data-duration="10" aria-label="@laurentdelrey 的视频"></video>
  </div>
</div>
