From b8d8d08301f0e41b19ea234f19ceafc014c32e42 Mon Sep 17 00:00:00 2001 From: Kevin Lau Date: Fri, 20 Apr 2018 10:53:05 -0700 Subject: [PATCH] node-common-errors: Rename to common-errors (#25153) --- .../common-errors-tests.ts} | 2 +- types/{node-common-errors => common-errors}/index.d.ts | 4 ++-- types/{node-common-errors => common-errors}/tsconfig.json | 4 ++-- types/{node-common-errors => common-errors}/tslint.json | 0 4 files changed, 5 insertions(+), 5 deletions(-) rename types/{node-common-errors/node-common-errors-tests.ts => common-errors/common-errors-tests.ts} (98%) rename types/{node-common-errors => common-errors}/index.d.ts (99%) rename types/{node-common-errors => common-errors}/tsconfig.json (92%) rename types/{node-common-errors => common-errors}/tslint.json (100%) diff --git a/types/node-common-errors/node-common-errors-tests.ts b/types/common-errors/common-errors-tests.ts similarity index 98% rename from types/node-common-errors/node-common-errors-tests.ts rename to types/common-errors/common-errors-tests.ts index 9554c31dff..ed2c1cdf15 100644 --- a/types/node-common-errors/node-common-errors-tests.ts +++ b/types/common-errors/common-errors-tests.ts @@ -1,4 +1,4 @@ -import * as errors from 'node-common-errors'; +import * as errors from 'common-errors'; errors.log(new Error()); // $ExpectType Error errors.log(new Error(), ''); // $ExpectType Error diff --git a/types/node-common-errors/index.d.ts b/types/common-errors/index.d.ts similarity index 99% rename from types/node-common-errors/index.d.ts rename to types/common-errors/index.d.ts index 06bcb9e754..da0230b084 100644 --- a/types/node-common-errors/index.d.ts +++ b/types/common-errors/index.d.ts @@ -1,5 +1,5 @@ -// Type definitions for node-common-errors 0.4 -// Project: https://github.com/shutterstock/node-errors +// Type definitions for common-errors 1.0 +// Project: https://github.com/shutterstock/node-common-errors // Definitions by: Ian Copp // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 diff --git a/types/node-common-errors/tsconfig.json b/types/common-errors/tsconfig.json similarity index 92% rename from types/node-common-errors/tsconfig.json rename to types/common-errors/tsconfig.json index a862893b87..a4c4800e39 100644 --- a/types/node-common-errors/tsconfig.json +++ b/types/common-errors/tsconfig.json @@ -18,6 +18,6 @@ }, "files": [ "index.d.ts", - "node-common-errors-tests.ts" + "common-errors-tests.ts" ] -} \ No newline at end of file +} diff --git a/types/node-common-errors/tslint.json b/types/common-errors/tslint.json similarity index 100% rename from types/node-common-errors/tslint.json rename to types/common-errors/tslint.json