google-closure-library-types
TypeScript icon, indicating that this package has built-in type declarations

0.1.17 • 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 google-closure-library-types

Weekly Downloads

173

Version

0.1.17

License

MIT

Unpacked Size

7 MB

Total Files

6

Last publish

Collaborators

  • codejamninja