Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

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

README.md

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

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.