3 个仓库
The use of generics and custom types within declaration files to describe advanced JavaScript module signatures.
Distinct from User-Defined Types: Focuses on the complexity of module-level declaration files rather than just individual user-defined types.
Explore 3 awesome GitHub repositories matching programming languages & runtimes · Complex Module Type Definitions. Refine with filters or upvote what's useful.
该项目是 TypeScript 语言的综合指南和教育资源。它涵盖了该语言的基本原则,包括其结构化类型系统、静态类型分析以及将类型化源文件转译为 JavaScript 的过程。 该材料详细介绍了如何使用泛型、条件类型和映射类型来建模复杂数据和可重用的类型逻辑。它还解释了如何使用声明文件为外部 JavaScript 库提供类型安全,以及如何通过 JSDoc 注释将类型检查集成到现有的 JavaScript 项目中。 内容范围扩展到面向对象编程模式、DOM 操作和编译器行为配置。它包括关于管理模块互操作性、设置构建管线以及利用编辑器智能以提高开发者生产力的指导。
Explains how to create type definitions for JavaScript libraries via global variables, modular imports, or UMD patterns.
lua-language-server 是一个 Lua 语言的静态分析工具和类型检查器,实现了语言服务器协议 (LSP)。它提供了一套用于检测源文件中类型不匹配、死代码和逻辑错误的系统。 该项目具有基于推理的类型系统,可推断变量类型,并支持可选的注解和元文件以强制执行类型安全。它允许定义自定义类型和函数签名,包括对重载和成员可见性控制的支持。 该服务器提供了广泛的 IDE 功能,包括实时代码自动补全、符号重构以及跳转到定义和实现。它还包含一个代码格式化程序和一个文档生成器,可提取符号和注解以生成 Markdown 和 JSON 文件。 该服务器可以从源码构建,并可配置以匹配特定的语言版本和运行时环境。
Provides the ability to describe external library signatures using meta files for accurate autocompletion.
flow-typed is a type definition manager, repository, and library designed to enable static type checking for third-party JavaScript libraries. It provides a curated collection of external type declarations that allow Flow projects to maintain type safety and error detection for non-typed dependencies. The project centers on a command-line interface used to install and update library type definitions from a remote source. This manager resolves compatible type versions based on a project's dependencies and maps them to local directories for use by a static type checker. Beyond type checking, t
Provides a set of external type declarations that describe the API surface of third-party JavaScript libraries.