diff --git a/notNeededPackages.json b/notNeededPackages.json index 9fd585e83b..b8a48cefa0 100644 --- a/notNeededPackages.json +++ b/notNeededPackages.json @@ -3240,6 +3240,12 @@ "sourceRepoURL": "https://github.com/tanem/react-svg", "asOfVersion": "5.0.0" }, + { + "libraryName": "react-tether", + "typingsPackageName": "react-tether", + "sourceRepoURL": "https://github.com/danreeves/react-tether", + "asOfVersion": "1.0.0" + }, { "libraryName": "react-webcam", "typingsPackageName": "react-webcam", diff --git a/types/react-tether/index.d.ts b/types/react-tether/index.d.ts deleted file mode 100644 index bf272c035b..0000000000 --- a/types/react-tether/index.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -// Type definitions for react-tether 0.5 -// Project: https://github.com/danreeves/react-tether -// Definitions by: Ryan Price -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.8 - -export default TetherComponent; -export as namespace ReactTether; - -import * as React from 'react'; -import * as Tether from 'tether'; - -declare class TetherComponent extends React.Component { } - -declare namespace ReactTether { - interface TetherComponentProps extends React.Props, Tether.ITetherOptions { - renderElementTag?: string; - renderElementTo?: string | { appendChild(element: HTMLElement): void }; - id?: string; - className?: string; - style?: React.CSSProperties; - onUpdate?(): void; - onRepositioned?(): void; - } -} diff --git a/types/react-tether/react-tether-tests.tsx b/types/react-tether/react-tether-tests.tsx deleted file mode 100644 index 531fbbf9e1..0000000000 --- a/types/react-tether/react-tether-tests.tsx +++ /dev/null @@ -1,16 +0,0 @@ -import TetherComponent from "react-tether"; -import * as React from "react"; - -const ReactTetherAllOptions: JSX.Element = - {}} - onRepositioned={() => {}} - renderElementTag="div" - renderElementTo=".container" - />; - -const ReactTetherRequiredOptions: JSX.Element = - ; diff --git a/types/react-tether/tsconfig.json b/types/react-tether/tsconfig.json deleted file mode 100644 index 3190ba8cf1..0000000000 --- a/types/react-tether/tsconfig.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6", - "dom" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "strictFunctionTypes": true, - "jsx": "react", - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "react-tether-tests.tsx" - ] -} \ No newline at end of file diff --git a/types/react-tether/tslint.json b/types/react-tether/tslint.json deleted file mode 100644 index 03f37e72ca..0000000000 --- a/types/react-tether/tslint.json +++ /dev/null @@ -1,2 +0,0 @@ -{ "extends": "dtslint/dt.json" } -