diff --git a/types/react-router-param-link/index.d.ts b/types/react-router-param-link/index.d.ts new file mode 100644 index 0000000000..1b168839f5 --- /dev/null +++ b/types/react-router-param-link/index.d.ts @@ -0,0 +1,10 @@ +// Type definitions for react-router-param-link 1.0 +// Project: https://github.com/mtsg/react-router-param-link +// Definitions by: Motosugi Murata +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.6 + +import * as React from "react"; +import { LinkProps } from "react-router-dom"; + +export class ParamLink extends React.Component { } diff --git a/types/react-router-param-link/react-router-param-link-tests.tsx b/types/react-router-param-link/react-router-param-link-tests.tsx new file mode 100644 index 0000000000..6de0efaef9 --- /dev/null +++ b/types/react-router-param-link/react-router-param-link-tests.tsx @@ -0,0 +1,5 @@ +import * as React from "react"; +import { ParamLink } from "react-router-param-link"; + +; +; diff --git a/types/react-router-param-link/tsconfig.json b/types/react-router-param-link/tsconfig.json new file mode 100644 index 0000000000..372a4076a5 --- /dev/null +++ b/types/react-router-param-link/tsconfig.json @@ -0,0 +1,25 @@ +{ + "compilerOptions": { + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "jsx": "react", + "strictNullChecks": true, + "strictFunctionTypes": true, + "noImplicitAny": true, + "noImplicitThis": true, + "forceConsistentCasingInFileNames": true, + "noEmit": true + }, + "files": [ + "index.d.ts", + "react-router-param-link-tests.tsx" + ] +} diff --git a/types/react-router-param-link/tslint.json b/types/react-router-param-link/tslint.json new file mode 100644 index 0000000000..f93cf8562a --- /dev/null +++ b/types/react-router-param-link/tslint.json @@ -0,0 +1,3 @@ +{ + "extends": "dtslint/dt.json" +}