Andy
ae4fe7b6de
Use "lib" in tsconfigs instead of "target". ( #13968 )
...
* Use "lib" in tsconfigs instead of "target".
Only add "dom" to libraries that need it. This is determined by a script, so many libraries that have "dom" maybe should not.
* Update new-package and readme
* Add back "target" where necessary
2017-01-18 07:51:51 -08:00
Andy
a4bd9fa3c1
Add "noImplicitThis" to all tsconfig.json ( #13446 )
...
* Add "noImplicitThis" to all tsconfig.json
* Use `"noImplicitThis": false` on packages with broken tests.
2016-12-19 14:11:46 -08:00
Ryan Cavanaugh
a5f4d50ccc
Fix tsconfig files for new option name / behavior.
...
Also fixes some inconsistent whitespace.
2016-07-12 13:54:56 -07:00
Mohamed Hegazy
a5d477d085
Replace references to angularjs with angular to match package name
2016-07-07 15:12:24 -07:00
Raghav Katyal
395c4e1639
Turning on consistent casing flag and fixing failures
2016-06-30 15:14:49 -07:00
Ryan Cavanaugh
bfd400a8f8
Add noEmit to all config files
2016-05-10 12:24:49 -07:00
Ryan Cavanaugh
e808e8e062
Remove unneeded references
2016-05-10 12:22:25 -07:00
Ryan Cavanaugh
50387d4046
Change relative reference paths to types references. Errors incoming...
2016-05-09 18:06:27 -07:00
Ryan Cavanaugh
49b1ac6a38
Rename all entry points to index.d.ts and explicitify all file lists
2016-05-09 17:29:10 -07:00
Ryan Cavanaugh
ab2b4191c5
Add typesRoot to all config files
2016-05-09 13:52:25 -07:00
Ryan Cavanaugh
ded70421be
Turn off strict null checks
2016-05-04 15:08:38 -07:00
Ryan Cavanaugh
69d1929d8a
Add tsconfig.json files
2016-05-04 14:14:39 -07:00
Ryan Cavanaugh
e7c111c4b7
Merge remote-tracking branch 'upstream/master' into types2.0
...
Add tsconfig files everywhere
# Conflicts:
# azure-mobile-services-client/AzureMobileServicesClient.d.ts
# bookshelf/bookshelf.d.ts
# hapi/hapi.d.ts
# helmet/helmet.d.ts
# mongodb/mongodb.d.ts
# nock/nock.d.ts
# react-bootstrap/react-bootstrap.d.ts
# react-helmet/react-helmet.d.ts
# restify/restify.d.ts
# sequelize/sequelize.d.ts
2016-04-27 20:40:21 -07:00
Ryan Cavanaugh
541e24b685
Fix angularjs/angular; 'export declare'/'declare export'
2016-04-25 13:02:25 -07:00
vvakame
14fe4313f4
replace internal module to namespace
2016-03-17 02:18:10 +09:00
Aluan Haddad
dd3f8aedb2
Changed model from (string | Object) to (string | { [key: string]: any; })
...
Changed the type of the model properties of various interfaces from (string | Object) to (string | { [key: string]: any; }).
This change is to improve usability. While (string | Object) is correct and corresponds literally to the angular-formly docs, it does not allow for meaningful use without type casts.
Also corrected some formatting to match the prevailing style used in the file.
2016-03-04 00:20:34 -05:00
Aluan Haddad
3dc2ce1636
Changed type of "data" to { [key: string]: any; }
...
Changed the type of the data property on the IFieldGroup, ITypeOptions, IFormOptionsAPI, and IFieldConfigurationObject interfaces from "Object" to a hash of string to any. While Object was not incorrect, it made use without a cast a type error in all but the most trivial cases.
2016-02-24 12:50:52 -05:00
Aluan Haddad
2a9c4f4b9f
Change type of IFieldConfigurationObject.elementAttributes to hash
...
Formly requires this property to be an object. A string value causes ApiCheck to throw.
2016-02-05 01:57:37 -05:00
Aluan Haddad
28392f58ed
Update angular-formly.d.ts
2016-01-28 10:38:07 -05:00
Aluan Haddad
3b43503a1f
Change ITemplateOptions.{onClick, etc.} to union
...
Changed the types of the ```ITemplateOptions``` properties ```onBlur```, ```onChange```, ```onClick```, ```onFocus```, ```onKeydown```, ```onKeypress```, and ```onKeyup``` from
```TypeScript
string
```
to
```TypeScript
string | IExpresssionFunction
```
string | IExpresssionFunction
2016-01-28 10:24:56 -05:00
Niko Kovacic
99a4e27e9b
FieldGroup property in IFieldGroup should be optional.
2016-01-11 13:27:33 +01:00
Niko Kovacic
e19066cf24
Small lint fixes.
2016-01-08 15:25:42 +01:00
Niko Kovacic
89ccc5f3cd
Added additional tests for extra property
2016-01-08 14:30:32 +01:00
Niko Kovacic
1fed7c61fa
Angular Formly IFormlyConfig added missing properties.
2016-01-08 14:19:13 +01:00
Scarrier
6dd0b2dc5c
Fix definition for IFieldGroup, add IFieldArray as convenience type for formly-form fields property, update tests
2016-01-04 15:43:02 -06:00
WAEL BEN ZID
223687fd0d
BUGFIX in ITemplateOptions definition
2015-12-16 22:55:03 +01:00
WAEL BEN ZID
f7ba60bb14
Update definition of ITemplateOptions
2015-12-11 12:16:01 +01:00
Elmar Burke
218f7fda9b
added default export for angular-formly
2015-11-19 09:37:02 +01:00
David Pertiller
31cb037f57
Added ngModelElAttrs property
...
The field configuration object supports a property called `ngModelElAttrs` which allows you to place attributes with string values on the ng-model element. It's a straightforward alternative to ngModelAttrs and was implemented as a result of this issue: https://github.com/formly-js/angular-formly/issues/378#issuecomment-127211353
2015-11-13 23:33:38 +01:00
vpham6
7652e924ff
Update type for ngModelAttrs with key String
2015-10-21 11:45:23 -07:00
Scott Hatcher
ac1ca868dd
Expanded tests, defined formlyConfig, and defined formlyValidationMessages.
2015-07-16 11:52:50 -07:00
Scott
7706ea8916
Rename angular-formly-test.ts to angular-formly-tests.ts
...
Renamed according to comply with repo standards.
2015-07-16 08:56:54 -07:00
Scott Hatcher
0f38c90093
asyncValidators isn't required.
2015-07-14 10:48:48 -07:00
Scott Hatcher
5f6361e360
Add asyncValidators. Added in 6.18.0.
2015-07-14 10:45:53 -07:00
Scott Hatcher
2f073bda43
Added in optional bootstrap template option. Will need to pull out and place in bootstrap-templates definition if it expands much further.
2015-07-14 10:08:15 -07:00
Scott Hatcher
b22932b2ef
Removed unused interface.
2015-07-14 09:29:51 -07:00
Scott Hatcher
d910496ddc
Extended definitions with info from formlyApiCheck.
2015-07-14 09:28:38 -07:00
Scott Hatcher
7f7ac2c2b1
Remove implicit any's.
2015-07-13 08:43:43 -07:00
Scott Hatcher
d48e140826
Added a few other field types to test file.
2015-07-13 08:00:46 -07:00
Scott Hatcher
700ec57d8b
Allow custom bootstrap layout.
2015-07-13 07:55:15 -07:00
Scott Hatcher
442dbd53b5
Initial definition push.
2015-07-12 07:49:00 -07:00