* Include the option to add customized buttons to the toolbar
* Fix all lint problems, export for the export ones.
* Mimic the previous module and namespace declaration.
Somehow this manages to export MediumEditor as a single object,
and define all the relevant types inside the MediumEditor namespace.
* Delete the linter configuration
This module still do not pass the linter tests.
I do not know how to fix the remaining issues, so I disable the linter until a brighter mind can fix these problems.
* Change callback result of incr (increment) variants to be number
was string[]
* Fix lint errors
* Stop using `let`
* Remove type annotations for simple string and number constant
The Ramda documentation clearly states that the element to append an the elements in the list should have the same type.
The previous type definition unnecessarily weakened type safety. For example this error could not be detected by TypeScript:
interface A {
id: number
}
const list: A[] = []
R.append({idd: 2}, list)
Which seems ridiculous. If one wanted an intersection type, one could explicity define it to be used for the list/element type. Additionally, the function `prepend` already is as strict as this proposal, that should probably be consistent.
I also deleted a redundant line.
* Add "as" attribute to links
See corresponding addition here: https://github.com/facebook/react/pull/7582
* Add "as" attribute to link elements in React v16 definition
* Turn commas into semicolons (React 15)
* Turn commas into semicolons (React 16)