JavaScript With Syntax For Types.
TypeScript Usecase
Joshua 在使用 TypeScript 的过程中总结的一些经验。
TypeScript Cheatsheet, Common Errors, and More
Typescript can't import files without extension
import without extension · Issue #30927 · nodejs/node
-experimental-specifier-resolution
ES Modules in NodeJS - Troubleshooting Resources
How to run .ts files directly?
TSConfig Reference - Docs on every TSConfig option
Reverse required and optional properties
How to be a Type Wizard/Witch?
/**
* Solution refer to {@link <https://catalins.tech/validate-environment-variables-with-zod/>}.
*/
declare global {
// eslint-disable-next-line typescript/no-namespace -- intended
namespace NodeJS {
interface ProcessEnv extends Env {}
}
}