Skip to content
This repository has been archived by the owner on Aug 19, 2023. It is now read-only.

teppeis/closure-library.d.ts

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

closure-library.d.ts

Closure Library declaration files for TypeScript.

Generated by clutz.

Usage

npm i -D closure-library.d.ts and edit tsconfig.json like:

"baseUrl": "./",
"paths": {
    "goog:*": ["./node_modules/closure-library.d.ts/index.d.ts"]
},

then

import Component from 'goog:goog.ui.Component';

class MyComponent extends Component {
  hello(): string {
    return 'Hello!';
  }
}

Known errors

Restrictions

License

MIT License: Teppei Sato teppeis@gmail.com

About

Closure Library declaration file (d.ts) for TypeScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages