mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-29 01:45:49 +08:00
Remove <reference path="../xxx/xxx.d.ts"> from definitions files and replace it with import * as Xxx from "xxx" or <reference types="xxx"/>
This commit is contained in:
4
react-modal/react-modal.d.ts
vendored
4
react-modal/react-modal.d.ts
vendored
@@ -3,7 +3,7 @@
|
||||
// Definitions by: Rajab Shakirov <https://github.com/radziksh>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference path="../react/react.d.ts"/>
|
||||
/// <reference types="react"/>
|
||||
|
||||
declare module "react-modal" {
|
||||
interface ReactModal {
|
||||
@@ -23,6 +23,6 @@ declare module "react-modal" {
|
||||
ariaHideApp?: boolean,
|
||||
shouldCloseOnOverlayClick?: boolean
|
||||
}
|
||||
let ReactModal: __React.ClassicComponentClass<ReactModal>;
|
||||
let ReactModal: React.ClassicComponentClass<ReactModal>;
|
||||
export = ReactModal;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user