closure-library.d.ts
TypeScript icon, indicating that this package has built-in type declarations

20180910.0.2 • Public • Published

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

Package Sidebar

Install

npm i closure-library.d.ts

Weekly Downloads

2

Version

20180910.0.2

License

MIT

Unpacked Size

6.86 MB

Total Files

6

Last publish

Collaborators

  • codejamninja