diff --git a/types/dateformat/dateformat-tests.ts b/types/dateformat/v1/dateformat-tests.ts similarity index 100% rename from types/dateformat/dateformat-tests.ts rename to types/dateformat/v1/dateformat-tests.ts diff --git a/types/dateformat/index.d.ts b/types/dateformat/v1/index.d.ts similarity index 100% rename from types/dateformat/index.d.ts rename to types/dateformat/v1/index.d.ts diff --git a/types/dateformat/tsconfig.json b/types/dateformat/v1/tsconfig.json similarity index 74% rename from types/dateformat/tsconfig.json rename to types/dateformat/v1/tsconfig.json index 1c5fc06611..88ca41923c 100644 --- a/types/dateformat/tsconfig.json +++ b/types/dateformat/v1/tsconfig.json @@ -8,10 +8,15 @@ "noImplicitThis": true, "strictNullChecks": false, "strictFunctionTypes": true, - "baseUrl": "../", + "baseUrl": "../../", "typeRoots": [ - "../" + "../../" ], + "paths": { + "dateformat": [ + "dateformat/v1" + ] + }, "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true @@ -20,4 +25,4 @@ "index.d.ts", "dateformat-tests.ts" ] -} \ No newline at end of file +} diff --git a/types/dateformat/tslint.json b/types/dateformat/v1/tslint.json similarity index 100% rename from types/dateformat/tslint.json rename to types/dateformat/v1/tslint.json