DefinitelyTyped/types/draft-js
Ryan Schwers d28f34da92 [Draft-js] Support custom keyBindingFN strings
The current typings don't work for custom keyBindingFn
return values. keyBindingFn implementations may return
any string or null. TypeScript's handling of string unions is
preventing the fn type definition overloading from working
as intended. This change removes overloading and moves
the union to a type, and adds nullability to the type definition.
2017-05-16 15:10:22 -07:00
..
draft-js-tests.tsx [Draft-js] Support custom keyBindingFN strings 2017-05-16 15:10:22 -07:00
index.d.ts [Draft-js] Support custom keyBindingFN strings 2017-05-16 15:10:22 -07:00
package.json
tsconfig.json