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
2f71174636
Restructure to support old versions ( #13811 )
...
* Restructure to support old versions
* Fix tests
2017-01-06 12:36:57 -08:00
Karol Janyst
53926498b0
Change icon interfaces to be more correct ( #13429 )
...
* Change icon interfaces to be more correct
* Add tslint.json
* Add required compiler option
2016-12-27 19:25:38 -05:00
Pat Sissons
f32344311a
Rewriting the react-fa typings ( #12655 )
...
* rewriting the react-fa typings using the new module template from https://github.com/Microsoft/TypeScript-Handbook/blob/master/pages/declaration%20files/templates/module.d.ts.md
Additionally improving the typings to better reflect the module implementation (and add some type constraints to various props)
* bumping version and adding contact info
* rewriting a more comprehensive test
2016-12-20 23:02:38 +09: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
Kanchalai Tanglertsampan
1200f753d6
Merge branch 'master' into types-2.0
...
# Conflicts:
# .gitignore
# ajv/ajv.d.ts
# angular-material/angular-material.d.ts
# angular-protractor/angular-protractor.d.ts
# angularjs/angular-tests.ts
# angularjs/angular.d.ts
# aws-sdk/aws-sdk.d.ts
# electron-devtools-installer/electron-devtools-installer-tests.ts
# electron-json-storage/electron-json-storage-tests.ts
# electron-notifications/electron-notifications.d.ts
# electron-notify/electron-notify.d.ts
# electron-window-state/electron-window-state.d.ts
# electron/electron-prebuilt.d.ts
# enzyme/enzyme.d.ts
# eventemitter3/eventemitter3-tests.ts
# eventemitter3/eventemitter3.d.ts
# graphql/graphql.d.ts
# highcharts/highcharts.d.ts
# immutable/immutable.d.ts
# inquirer/inquirer.d.ts
# jasmine/jasmine.d.ts
# joi/joi.d.ts
# jquery.dataTables/jquery.dataTables-tests.ts
# jquery.dataTables/jquery.dataTables.d.ts
# kafka-node/kafka-node.d.ts
# kefir/kefir.d.ts
# kendo-ui/kendo-ui.d.ts
# koa/koa.d.ts
# leaflet/leaflet.d.ts
# lodash/lodash.d.ts
# mapbox-gl/mapbox-gl.d.ts
# material-ui/material-ui.d.ts
# menubar/menubar.d.ts
# mongodb/mongodb.d.ts
# needle/needle-tests.ts
# needle/needle.d.ts
# noble/noble.d.ts
# node/node.d.ts
# pegjs/pegjs.d.ts
# pixi.js/pixi.js.d.ts
# polymer/polymer.d.ts
# quill/quill-tests.ts
# quill/quill.d.ts
# react-bootstrap/react-bootstrap.d.ts
# react-fa/react-fa-tests.tsx
# react-fa/react-fa.d.ts
# react-native/react-native.d.ts
# react-select/react-select.d.ts
# react/react.d.ts
# threejs/three-vrcontrols.d.ts
# threejs/three-vreffect.d.ts
# toastr/toastr.d.ts
# validator/validator.d.ts
# webpack/webpack.d.ts
# winston/winston.d.ts
2016-11-09 17:20:41 -08:00
Karol Janyst
b6f6ba5f89
Update definitions for react-fa ( #12119 )
2016-10-26 00:29:19 +09: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
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
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
290d5dfb4d
More fixes
2016-05-04 18:42:46 -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
337587de8c
Rename external modules to index.d.ts
2016-04-27 21:30:22 -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
4a433abbf4
Unwrap all lone ambient external modules
2016-04-22 14:12:45 -07:00
Frank Laub
f318fbd331
Add definitions for react-fa
2016-02-04 07:43:04 -08:00