From d229cef5e171a25586a11f1deb016d4f410f9850 Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Sat, 3 Aug 2019 07:36:58 +0200 Subject: [PATCH] Remove jdenticon, includec upstream --- types/jdenticon/index.d.ts | 28 ---------------------------- types/jdenticon/jdenticon-tests.ts | 3 --- types/jdenticon/tsconfig.json | 16 ---------------- types/jdenticon/tslint.json | 1 - 4 files changed, 48 deletions(-) delete mode 100644 types/jdenticon/index.d.ts delete mode 100644 types/jdenticon/jdenticon-tests.ts delete mode 100644 types/jdenticon/tsconfig.json delete mode 100644 types/jdenticon/tslint.json diff --git a/types/jdenticon/index.d.ts b/types/jdenticon/index.d.ts deleted file mode 100644 index 72fb6bf..0000000 --- a/types/jdenticon/index.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -// Type definitions for Jdenticon 2.1.1 -// Project: http://jdenticon.com/ -// Definitions by: Martin Thorsen Ranang -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - -interface JdenticonConfig { - lightness?: { - color?: number[]; - grayscale?: number[]; - }; - saturation?: number; -} - -interface Jdenticon { - drawIcon(ctx: CanvasRenderingContext2D, hash: string, size: number): void; - toPng(hash: string, size: number, padding?: number): string; - toSvg(hash: string, size: number, padding?: number): string; - update(el: Element | string, hash?: string, padding?: number): void; - - config: JdenticonConfig; - version: string; -} - -declare module 'jdenticon' { -const jdenticon: Jdenticon; - -export default jdenticon; -} diff --git a/types/jdenticon/jdenticon-tests.ts b/types/jdenticon/jdenticon-tests.ts deleted file mode 100644 index f86e061..0000000 --- a/types/jdenticon/jdenticon-tests.ts +++ /dev/null @@ -1,3 +0,0 @@ -import jdenticon from 'jdenticon'; - -jdenticon.toSvg('12345', 64); diff --git a/types/jdenticon/tsconfig.json b/types/jdenticon/tsconfig.json deleted file mode 100644 index fc0a9ff..0000000 --- a/types/jdenticon/tsconfig.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "lib": ["es6"], - "noImplicitAny": true, - "noImplicitThis": true, - "strictFunctionTypes": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": ["../"], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": ["index.d.ts", "jdenticon-tests.ts"] -} diff --git a/types/jdenticon/tslint.json b/types/jdenticon/tslint.json deleted file mode 100644 index 3db14f8..0000000 --- a/types/jdenticon/tslint.json +++ /dev/null @@ -1 +0,0 @@ -{ "extends": "dtslint/dt.json" }