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

Repository files navigation

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 [email protected]

About

Closure Library declaration file (d.ts) for TypeScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages