mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 12:56:46 +08:00
[@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:
committed by
Sheetal Nandi
parent
c05fef4faf
commit
9df8a75519
4
types/react-css-modules/index.d.ts
vendored
4
types/react-css-modules/index.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user