diff --git a/types/next/index.d.ts b/types/next/index.d.ts index ab57dd6241..51024ffc8f 100644 --- a/types/next/index.d.ts +++ b/types/next/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for next +// Type definitions for next 2.4 // Project: https://github.com/zeit/next.js // Definitions by: Drew Hays // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/types/next/tests/next-document-tests.tsx b/types/next/test/next-document-tests.tsx similarity index 100% rename from types/next/tests/next-document-tests.tsx rename to types/next/test/next-document-tests.tsx diff --git a/types/next/tests/next-dynamic-tests.tsx b/types/next/test/next-dynamic-tests.tsx similarity index 100% rename from types/next/tests/next-dynamic-tests.tsx rename to types/next/test/next-dynamic-tests.tsx diff --git a/types/next/tests/next-error-tests.tsx b/types/next/test/next-error-tests.tsx similarity index 100% rename from types/next/tests/next-error-tests.tsx rename to types/next/test/next-error-tests.tsx diff --git a/types/next/tests/next-head-tests.tsx b/types/next/test/next-head-tests.tsx similarity index 100% rename from types/next/tests/next-head-tests.tsx rename to types/next/test/next-head-tests.tsx diff --git a/types/next/tests/next-link-tests.tsx b/types/next/test/next-link-tests.tsx similarity index 100% rename from types/next/tests/next-link-tests.tsx rename to types/next/test/next-link-tests.tsx diff --git a/types/next/tests/next-router-tests.tsx b/types/next/test/next-router-tests.tsx similarity index 100% rename from types/next/tests/next-router-tests.tsx rename to types/next/test/next-router-tests.tsx diff --git a/types/next/tsconfig.json b/types/next/tsconfig.json index b5476f610a..0bcbd622d9 100644 --- a/types/next/tsconfig.json +++ b/types/next/tsconfig.json @@ -21,11 +21,11 @@ "files": [ "index.d.ts", "next-tests.ts", - "tests/next-error-tests.tsx", - "tests/next-head-tests.tsx", - "tests/next-document-tests.tsx", - "tests/next-link-tests.tsx", - "tests/next-dynamic-tests.tsx", - "tests/next-router-tests.tsx" + "test/next-error-tests.tsx", + "test/next-head-tests.tsx", + "test/next-document-tests.tsx", + "test/next-link-tests.tsx", + "test/next-dynamic-tests.tsx", + "test/next-router-tests.tsx" ] } diff --git a/types/next/tslint.json b/types/next/tslint.json index 71bde7f0b6..e4a2c8f088 100644 --- a/types/next/tslint.json +++ b/types/next/tslint.json @@ -1,5 +1,5 @@ { - "extends": "dtslint/dtslint.json", + "extends": "dtslint/dt.json", "rules": { // All of the different "export default" lines in the index.d.ts // appear to be triggering this. Remove this when I know of a way