ts-closure-library v2022.502.5
About this project
The Closure Library is an open-source, general-purpose Javascript library maintained by Google.
The original library provides type safety using type annotations for Google's Closure compiler using special comments like /** @type {string} **/.
In addition, the original library has its own module system using goog.require / goog.provide / goog.module statements.
This project is a fork of the Closure library, but differs in the following ways:
- all Closure-specific "classes" were converted to regular ES6 classes.
- the
goog.require/goog.providestatements have been converted to ES6 modules (importandexport) - we added
d.tsfiles for the library, which allows the Typescript compiler to understand the type definitions inside the library. - some parts of the library have been removed (e.g.,
goog.graphics, which was already deprecated).
With these changes, this library can be used without the Closure compiler.
It is also possible to use this fork in a Typescript project due to the added d.ts definition files.
Releases
Releases are published on npm.
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago