2 Repos
Using JSDoc comments to provide static type information for JavaScript code.
Distinct from Static Type Checking: Specifically uses JSDoc annotations for type checking in JavaScript, whereas the parent is a general architectural concept.
Explore 2 awesome GitHub repositories matching software engineering & architecture · JSDoc Type Annotations. Refine with filters or upvote what's useful.
Closure Library ist eine JavaScript-Standardbibliothek und ein Utility-Toolset für den Aufbau großer Webanwendungen. Sie bietet eine Sammlung von Kern-Utility-Modulen und standardisierten APIs, um komplexe Anwendungslogik und State-Management zu vereinfachen. Das Projekt ist als modulares Framework aufgebaut und verwendet ein Namespace-basiertes Modulsystem, um eine Verschmutzung des globalen Scopes zu verhindern. Es ist speziell für die Verwendung mit dem Closure Compiler konzipiert, um aggressives Dead-Code-Elimination und Minifizierung zu ermöglichen, was die finale Auslieferungsgröße in der Produktion reduziert. Um die Zuverlässigkeit in großen Projekten zu gewährleisten, nutzt die Bibliothek JSDoc-Annotationen für statische Typenprüfung, um API-Verträge vor der Ausführung zu verifizieren. Die Bibliothek deckt Cross-Browser-Kompatibilität durch eine Polyfill-Schicht und Feature-Detection ab. Sie bietet eine strukturierte Architektur für Enterprise-Frontend-Entwicklung und konzentriert sich auf konsistentes Verhalten über verschiedene Browser-Umgebungen und Ausführungskontexte hinweg, einschließlich Node.js.
Employs JSDoc annotations for static type checking to verify API contracts before execution.
This project is a comprehensive guide and educational resource for the TypeScript language. It covers the fundamental principles of the language, including its structural type system, static type analysis, and the process of transpiling typed source files into JavaScript. The material details how to model complex data and reusable type logic using generics, conditional types, and mapped types. It also explains the use of declaration files to provide type safety for external JavaScript libraries and the integration of type checking into existing JavaScript projects via JSDoc annotations. The
Enables static type checking of standard JavaScript files using JSDoc annotations.