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" }