20180910.0.2 • Published 5 years ago

closure-library.d.ts v20180910.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

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