This repository was archived by the owner on May 15, 2023. It is now read-only.
File tree 6 files changed +1031
-1
lines changed 6 files changed +1031
-1
lines changed Original file line number Diff line number Diff line change 1
1
bower_components *
2
2
bower- * .json
3
+ node_modules
Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ sudo: required
3
3
before_script :
4
4
- npm install -g polymer-cli
5
5
- polymer install --variants
6
+ - >-
7
+ npm run update-types && git diff --exit-code || (echo -e
8
+ '\n\033[31mERROR:\033[0m Typings are stale. Please run "npm run
9
+ update-types".' && false)
6
10
env :
7
11
global :
8
12
- secure : >-
Original file line number Diff line number Diff line change
1
+ /**
2
+ * DO NOT EDIT
3
+ *
4
+ * This file was automatically generated by
5
+ * https://github.com/Polymer/gen-typescript-declarations
6
+ *
7
+ * To modify these typings, edit the source file(s):
8
+ * iron-validator-behavior.html
9
+ */
10
+
11
+ /// <reference path="../polymer/types/polymer.d.ts" />
12
+ /// <reference path="../iron-meta/iron-meta.d.ts" />
13
+
14
+ declare namespace Polymer {
15
+
16
+ /**
17
+ * Use `Polymer.IronValidatorBehavior` to implement a custom input/form validator. Element
18
+ * instances implementing this behavior will be registered for use in elements that implement
19
+ * `Polymer.IronValidatableBehavior`.
20
+ */
21
+ interface IronValidatorBehavior {
22
+ ready ( ) : void ;
23
+
24
+ /**
25
+ * Implement custom validation logic in this function.
26
+ *
27
+ * @param values The value to validate. May be any type depending on the validation logic.
28
+ * @returns true if `values` is valid.
29
+ */
30
+ validate ( values : object | null ) : boolean ;
31
+ }
32
+
33
+ const IronValidatorBehavior : object ;
34
+ }
Original file line number Diff line number Diff line change 29
29
/**
30
30
* Implement custom validation logic in this function.
31
31
* @param {Object } values The value to validate. May be any type depending on the validation logic.
32
- * @return {Boolean } true if `values` is valid.
32
+ * @return {boolean } true if `values` is valid.
33
33
*/
34
34
validate : function ( values ) {
35
35
}
You can’t perform that action at this time.
0 commit comments