Commit Graph
29 Commits
Author SHA1 Message Date
Andy Hanson 891d2682f0 knockout: Remove unnecessary type references in tests 2018-02-16 10:35:12 -08:00
Andy Hanson 45c9246c09 Remove esModuleInterop from tsconfigs (no longer mandatory) 2018-02-14 14:55:13 -08:00
Daniel Rosenwasser 223f022397 Merge pull request #23477 from ffMathy/patch-1
fix for knockout bug reported in #23015
2018-02-12 16:28:16 -08:00
Ron Buckton c636e07c6e Merge pull request #23419 from ffMathy/patch-1
Better strong-typing of unwrap for arrays.
2018-02-07 15:16:07 -08:00
Mathias Lykkegaard Lorenzen f757040364 Update index.d.ts 2018-02-07 11:35:04 +01:00
Andy bef4d2b27d Enable "esModuleInterop" in all tsconfigs (#23354) 2018-02-05 11:01:56 -08:00
Mathias Lykkegaard Lorenzen 267674ea8f Update index.d.ts 2018-02-05 11:36:44 +01:00
Mathias Lykkegaard Lorenzen 5f5ccc3872 for for scenario where passing in simple types to ko.toJS did not work (#23015)
* fix for rather critical oversight

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts
2018-01-18 13:34:04 -08:00
Mathias Lykkegaard Lorenzen 496c843d48 update for isObservable methods to provide more strong typed hinting to the compiler (#22959)
* Update index.d.ts

update for isObservable methods to provide more strong typed hinting to the compiler.

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts
2018-01-17 13:25:25 -08:00
Andy 219dd6df82 Fix 'prefer-readonly' lint failures (#22819) 2018-01-10 14:59:37 -08:00
Mathias Lykkegaard Lorenzen d7b5cd9707 knockout.mapping better strong typing when mapping objects back and forth (#19119)
* Update index.d.ts

removed fromjs overload that no longer exists in latest knockout.mapping, and added much better type safety for "fromJS".

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* fix for typescript version.

* more typescript versioning fixes.

* fix for minor bug.

* yet another test fix.

* yet another test fix.
2017-11-15 11:12:34 +00:00
Andy 19f89399e4 Ensure every package has a tslint.json (#21009)
* Ensure every package has a tslint.json

* Fixes
2017-10-25 11:13:50 -07:00
Andy 947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Nathan Shively-Sanders b8ea87c68e Strict function variance fixes round 1 2017-10-02 15:50:34 -07:00
Andy 924fafffc0 Fix remaining lint errors (#19166) 2017-08-20 15:37:53 -07:00
Benjamin Eckardt 96ef28b882 made allowUnset optional 2017-08-18 03:05:39 +02:00
Benjamin Eckardt 9b73e2a86c prefer optional parameter to overlaoding 2017-08-17 20:55:29 +02:00
Benjamin Eckardt 5c78e49e1b added missing API for ko.selectExtensions.writeValue() 2017-08-16 19:04:59 +02:00
cervengoc 57b59f6488 Change Elements to Node where reasonable 2017-08-04 14:47:49 +02:00
Stephan de50e0c282 Merge branch 'master' into patch-1 2017-07-14 23:47:32 +02:00
Stephan 7a119a9bef merged any | null to any 2017-07-13 01:29:07 +02:00
Stephan 5bb489074d Knockout update KnockoutComponentTypes.Loader callbacks
According to http://knockoutjs.com/documentation/component-loaders.html#loadcomponentname-componentconfig-callback ```result``` can be null
2017-07-13 01:02:42 +02:00
Morten Houston Ludvigsen d6042ebb83 Don't require knockout extension functions to be of type KnockoutBindingHandler 2017-07-11 16:23:39 +02:00
Morten Houston Ludvigsen 520466194a Add test interfaces, that extend subscribables and observables 2017-06-20 12:02:16 +02:00
Morten Houston Ludvigsen 43fb6d0f27 Fix error resulting from typings for knockout.deferred.updates 2017-06-20 11:49:25 +02:00
Morten Houston Ludvigsen 9e8aa6c0c1 Tab to spaces 2017-06-19 15:52:28 +02:00
Morten Houston Ludvigsen 3cfa831f26 Make it possible to extend interfaces for subscribables and observables 2017-06-19 15:49:25 +02:00
Nathan Shively-Sanders 4874667de9 Fix primitive weak type errors
These weak type errors were not caught in TS 2.4 RC. The final TS 2.4
will catch weak type errors with primitives, so this PR fixes those
now-caught errors.
2017-06-15 11:46:46 -07:00
Andy Hanson 354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00