nonoroazoro's recent timeline updates
nonoroazoro's repos on GitHub
TypeScript · 509 watchers
vscode-syncing
:zap: Sync all of your VSCode settings across multiple devices, supports any VSCode variant.
JavaScript · 59 watchers
Zhihu-Daily-Reader
:cyclone: Zhihu Daily Reader (Web).
TypeScript · 16 watchers
typescript-react-boilerplate
:ghost: Minimal example for React with TypeScript.
TypeScript · 13 watchers
diff-match-patch-typescript
🚁 TypeScript port of google/diff-match-patch.
JavaScript · 9 watchers
firefox
Customized Extensions, Scripts, UserChromeJS and Rules of Firefox.
TypeScript · 6 watchers
eslint-config-zoro
ESLint Configuration with VERY STRICT RULES :anger:
TypeScript · 6 watchers
virtualized-list
A virtualized list written in vanilla JavaScript.
HTML · 5 watchers
ai
My Claude Code plugins.
JavaScript · 5 watchers
docusaurus-plugin-less
Provides support for Less to Docusaurus 2
JavaScript · 5 watchers
simplest-react-redux-example
A very simple Redux + React example for beginners (Support Hot Module Replacement, including Redux reducers :v:)
CSS · 5 watchers
Tiny-InoReader
A Simple Customized Style for InoReader.
JavaScript · 4 watchers
string-searching
Fast string searching algorithms.
JavaScript · 3 watchers
webpack-boilerplate
Minimal HMR example for Webpack & React
TypeScript · 2 watchers
react-fxxking-hooks
Some useful react hooks...
2 watchers
rpi-mongo
:whale: MongoDB Dockerfile for Raspberry Pi for automated build.
Python · 1 watchers
dive-into-python
1 watchers
rpi-nginx
:whale: nginx Dockerfile for Raspberry Pi for automated build.
JavaScript · 1 watchers
rush-boilerplate
Minimal example for Rush.
TypeScript · 1 watchers
typescript-react-boilerplate-snowpack
:ghost: Minimal example for React with TypeScript.
Rust · 0 watchers
996.ICU
Repo for counting stars and contributing. Press F to pay respect to glorious developers.
JavaScript · 0 watchers
alpha-beta
Shell · 0 watchers
AutoBuild-OpenWrt
Build OpenWrt using GitHub Actions | 使用 GitHub Actions 编译 OpenWrt | 感谢P3TERX的项目源码|感谢KFERMercer的项目源码
Java · 0 watchers
BILIBILI-HELPER
B站,哔哩哔哩(Bilibili)自动签到投币工具,每天轻松获取65经验值,支持每日自动投币,银瓜子兑换硬币,领取大会员福利,大会员月底给自己充电等功能。呐!赶快和我一起成为Lv6吧!
TypeScript · 0 watchers
cli-boilerplate
JavaScript · 0 watchers
code
AutoIt · 0 watchers
D2Stats
Stat reader/drop notifier for Median XL
0 watchers
deer-flow
DeerFlow is a community-driven Deep Research framework, combining language models with tools like web search, crawling, and Python execution, while contributing back to the open-source community.
JavaScript · 0 watchers
movie-board
Re-design and implement Douban Movie with React and Redux.
JavaScript · 0 watchers
mxl-filter-editor
Median XL filter editor
TypeScript · 0 watchers
opfs-extra
💾 opfs-extra brings the user-friendly API to OPFS, just like fs-extra.
Java · 0 watchers
proxyee-down
http下载工具,基于http代理,支持多连接分块下载
TypeScript · 0 watchers
react-virtuoso
The most powerful virtual list component for React
JavaScript · 0 watchers
simple-redux
0 watchers
Thunderstore
Thunderstore is a mod database and API for downloading mods
CSS · 0 watchers
Tiny-Douban
A Simple Customized Style for Douban.
CSS · 0 watchers
Tiny-Twitter
JavaScript · 0 watchers
typescript-node-boilerplate
Minimal example for Node in TypeScript.
JavaScript · 0 watchers
webpack.js.org
New repository for webpack documentation and more!
nonoroazoro

nonoroazoro

🏢  Alibaba
V2EX member #102751, joined on 2015-03-06 10:22:24 +08:00
nonoroazoro's recent replies
Jan 13, 2021
Replied to a topic by cweijan 程序员 Autohotkey 编辑器 for vscode
加油 继续更新啊
@wly19960911 通过传递 instance 作为参数的话确实可以这么判断。不过你也可以直接用 interface 来定义参数,然后利用 type guard 来简单判断是 A 是 Aa 还是 Ab。

不过总之换汤不换药,好不到哪里去,哈哈,毕竟 TS 的重载是 compile time 而非 runtime 的。
Nov 28, 2018
Replied to a topic by hrong 程序员 Windows 平台上应用软件安装自动化
DISM 应该能满足你的要求。
@wly19960911 你说的对啊,实际上 TS 重载的只是函数签名,编译后只有一个函数,你可以认为它的重载是“假”的。但同时,这个“假”的重载并不代表它就是不可用的,和“真”重载相比,各有优缺点吧。
@wly19960911 TS 的重载确实得靠自己判断来实现,但是因为在有 definition 的情况下,调用方能很明确的知道自己调用的方法和签名,在一些情况下还是很有用的。
最基本的区别不就是面向对象的区别么。比如最简单的 ES Module 与静态类的区别,然后是继承、派生、重载的区别,然后更复杂一点就是设计上的区别,比如如何实现控制反转( IoC )等等。
只要 headless 做的足够完善,想要在内部检测理论上不可能。
因为 TypeScript 是 JavaScript 的超集,并且加上了类型系统(可选),一举两得,你不会后悔的。
从来都是 Firefox 阿,开发也一样。
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2845 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 29ms · UTC 07:53 · PVG 15:53 · LAX 00:53 · JFK 03:53
♥ Do have faith in what you're doing.