[@types/react-css-modules] fix TypeOptions interface (#20728)

A new released changed the interface.
See https://github.com/gajus/react-css-modules#options
and https://github.com/gajus/react-css-modules/releases/tag/v4.6.0
This commit is contained in:
Philippe Miossec
2017-10-23 23:58:13 +02:00
committed by Sheetal Nandi
parent c05fef4faf
commit 9df8a75519

View File

@@ -1,4 +1,4 @@
// Type definitions for react-css-modules 4.2.0
// Type definitions for react-css-modules 4.6.0
// Project: https://github.com/gajus/react-css-modules
// Definitions by: Kostya Esmukov <https://github.com/KostyaEsmukov>, Tadas Dailyda <https://github.com/skirsdeda>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
@@ -6,7 +6,7 @@
interface TypeOptions {
allowMultiple?: boolean;
errorWhenNotFound?: boolean;
handleNotFoundStyleName?: 'throw' | 'log' | 'ignore';
}
type StylesObject = any;