Commit Graph

17 Commits

Author SHA1 Message Date
Terry Bayne
dbf6e9353d Changes for DefinatelyTyped:
Removed tslint:disable:dt-header comment
Changed import to use require in tests
Formatting fixed around type parameters
2017-02-27 10:26:07 -06:00
Terry Bayne
6fd0e9e82d Removed unnecessary export as statement 2017-02-27 08:42:06 -06:00
Terry Bayne
71d1224978 Updated version supported to react-autosuggest 8.0 2017-02-27 08:24:49 -06:00
Terry Bayne
23cfd3e510 Updated typings for the react-autosuggest package
Reformatted to remove whitespace errors
Fixed the comment header
2017-02-23 14:03:07 -06:00
Andy
555ea54770 Lint test files too (#14791) 2017-02-23 07:15:16 -08:00
Eric Anderson
9b53298395 Support Pick<> on setState now that TS 2.1 is out (#13155)
* Support Partial<> on setState now that TS 2.1 is out

* Update readme to reflect setState being typed correctly

* Switch setState to Pick

* Restore cloneELement portion of readme

* Use Pick<> | S for setState due to cast issue

* state and props should be readonly

* Fix nit + document why we

* Add typescript compiler header

* Update to properly order headers

* Update readme to reflect 2.1.5 fixing stPick

* Update readme now that 2.1.5 is out

* All that depend on react now require 2.1

* Fix definition that fails due to readonly state
2017-01-23 12:36:53 -08:00
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
05e9c858cf Merge 20dec (#13471)
* base-64 typings

* formatting and indenting

* feat: add typings for watchpack

* fix: improve missing typings

* Port from https://github.com/agileek/typings-vis/blob/master/vs.d.ts

* Fix travis build failures

* Port PR https://github.com/agileek/typings-vis/pull/12

* Fix travis build failures

* added tsconfig and tslint

* removed patch number

* added tests

* made it export like base64-js

* removed old code

* formatted code

* fix: add files field in tsconfig.json for expected publishment

* fix: improve most missing typings

* feat: upgrade to v3.0.0

* feat: upgrade to tapbale v0.2.5

* Types 2.0 (#13261)

* updating typing of the latest 7.0 react-autosuggest

* updating typing of react-autosuggest 7.0

* update typings for react-autosuggest 7.0

* Remove '+' from header versions, so they can be parsed (#13239)

* Updated masonry-layout to fix linting errors (#13272)

* Updated masonry-layout to fix linting errors

* Fixed the tests I could fix.

* Removed patch version

* Add redux-persist and basic transformers (#13389)

* Add definitions for redux-persist

* Add missin generic types

* Add definitions for filter transformer

* Add definitions for encrypt transformer

* Fix header

* Add definitions for compress transformer

* Delete unnecessary linter configs

* Change way of importing, fix tests

* fix: angulartics type definition for ES6 import

* fix: lint error

* fix scalar type config (#13398)

The `GraphQLScalarTypeConfig` interface had incorrect types. Correct types may be seen here: 379a308439/src/type/definition.js (L348-L350)

* [interact.js] Update module names (#13316)

Update CommonJS module name as it was changed in version 1.2.7.
AMD module name is also different from both new and old CommonJS module names, so a separate declaration was created for that as well.

* Add definitions for redux-recycle (#13424)

* Add definitions for redux-recycle

* Fix linter errors

* [jest] add type definition for toHaveBeenLastCalledWith (#13038)

* remove ajv because the package bundles its own types (#13028)

* Updated type definitions to yfiles for HTML 2.0. (#13332)

* Updated type definitions to yFiles for HTML 2.0.

* Updated type definitions to yfiles for HTML 2.0.

* Added contact in yfiles .d.ts header.

* Add redux-batched-actions typings. (#13054)

* Add types for mailgen (#13080)

* Typings for cordova-sqlite-storage (#13081)

* Add flatpickr definitions (#13083)

* Add pouch-redux-middleware typing (#13071)

* Add pouch-redux-middleware typing

* Fix <> in comment

* Add declaration for crc (#13068)

* Updated jquery.dataTables for 1.10.9 (#13099)

Release Notes: https://cdn.datatables.net/1.10.9/

* Moved legacy browser settings to its own data type.
* Added 'aIds' property on legacy settings object for mapping row ids to data indexes.
* Added 'rowIdFn' function to legacy settings object to get a row's id from the row's data.

* chore(lint): change vis typing to external module (#13399)

* Fix cordova-sqlite-storage lint

* Lint `vis`: Remove "I" prefix for namespaces

* Change cordova-sqlite-storage back. Linter was wrong.
2016-12-20 11:55:40 -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
Nathan Shively-Sanders
3290966249 Merge branch 'types-2.0' into react-autosuggest-2.0 2016-11-23 10:30:17 -08:00
Andy
8841dfc744 Use index.d.ts only (not foo/foo.d.ts) (#12834)
* Use index.d.ts only (not foo/foo.d.ts)

* Convert more packages

* Remove unnecessary references
2016-11-21 12:58:06 -08:00
Philip Ottesen
e8171dca7f Updating authors 2016-11-16 10:37:09 -05:00
Philip Ottesen
7bf1a7fb2c Adding optional theme parameters, optional onBlur with focusedSuggestion, setting strictNullChecks = true 2016-11-16 10:18:59 -05:00
Andy Hanson
28ef3d201b Remove <reference path="../xxx/xxx.d.ts"> from definitions files and replace it with import * as Xxx from "xxx" or <reference types="xxx"/> 2016-09-16 08:59:57 -07:00
József Kanczler
3d78d9b025 Suggestion type for suggestion selected event. (#10762)
* Suggestion type for suggestion selected event.

SuggestionSelectedEventData converted to be a generic interface, so type of the suggestion property can be defined by the consumer.

* Explicit suggestion selected event data.

ExplicitSuggestionSelectedEventData is the parent interface for SuggestionSelectedEventData. With the explicit interface the consumer can determine the type of the suggestion. SuggestionSelectedEventData will be ExplicitSuggestionSelectedEventData<any>, so the consumers don't have to change anything in there code because of the typings.

* Explicit suggestion selected event data.
ExplicitSuggestionSelectedEventData is the parent interface for SuggestionSelectedEventData. With the explicit interface the consumer can determine the type of the suggestion. SuggestionSelectedEventData will be ExplicitSuggestionSelectedEventData<any>, so the consumers don't have to change anything in there code because of the typings.
2016-08-29 23:27:41 +09:00
Nicolas Schmitt
dfb808f777 update react-autosuggest (#9262)
* update react-autosuggest

* fixed InputProps.onChange & authors

* removed unnecessary interface
2016-05-14 23:28:41 +09:00
Steve
d1555d272c Initial typings for react-autosuggest (#9184)
* Initial react-autosuggest typings

* Fixed tests
2016-05-06 01:54:59 +09:00