Skip to content

Commit

Permalink
Add TypeScript declarations to paper-input. (#629)
Browse files Browse the repository at this point in the history
* Tighten keyBindings type.
* Generate minimal package.json from bower.json
* Update and/or configure type declarations.
* Tighten some types from review comments.
  • Loading branch information
aomarks committed Mar 8, 2018
1 parent 6972d38 commit 10e6826
Show file tree
Hide file tree
Showing 17 changed files with 1,703 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,2 +1,3 @@
bower_components*
bower-*.json
node_modules
4 changes: 4 additions & 0 deletions .travis.yml
Expand Up @@ -3,6 +3,10 @@ sudo: required
before_script:
- npm install -g polymer-cli
- polymer install --variants
- >-
npm run update-types && git diff --exit-code || (echo -e
'\n\033[31mERROR:\033[0m Typings are stale. Please run "npm run
update-types".' && false)
env:
global:
- secure: >-
Expand Down
13 changes: 13 additions & 0 deletions all-imports.d.ts
@@ -0,0 +1,13 @@
/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* all-imports.html
*/

/// <reference path="paper-input.d.ts" />
/// <reference path="paper-textarea.d.ts" />

0 comments on commit 10e6826

Please sign in to comment.