* 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
* 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
* For ReactDOM.render, make element parameter nullable to match React API and match Typescript 2.0 definition for Document.getElementById
* one more test
this allows getting the actual html element type from events.
Example:
```ts
render() {
return <input onChange={e => console.log(e.target.value)}/>
}
```
Previously you would have to cast the target manually:
```ts
render() {
return <input onChange={e => console.log((e.target as
HTMLInputElement).value)}/>
}
```