From 12e28d0e287d0a2fe41700639cb6e2f891c0ac0a Mon Sep 17 00:00:00 2001 From: Vince Picone Date: Thu, 7 Feb 2019 09:49:53 -0600 Subject: [PATCH] Add carbon motion --- types/carbon__motion/carbon__motion-tests.ts | 0 types/carbon__motion/index.d.ts | 28 ++++++++++++++++++++ types/carbon__motion/tsconfig.json | 19 +++++++++++++ types/carbon__motion/tslint.json | 1 + 4 files changed, 48 insertions(+) create mode 100644 types/carbon__motion/carbon__motion-tests.ts create mode 100644 types/carbon__motion/index.d.ts create mode 100644 types/carbon__motion/tsconfig.json create mode 100644 types/carbon__motion/tslint.json diff --git a/types/carbon__motion/carbon__motion-tests.ts b/types/carbon__motion/carbon__motion-tests.ts new file mode 100644 index 0000000000..e69de29bb2 diff --git a/types/carbon__motion/index.d.ts b/types/carbon__motion/index.d.ts new file mode 100644 index 0000000000..9570133327 --- /dev/null +++ b/types/carbon__motion/index.d.ts @@ -0,0 +1,28 @@ +// Type definitions for carbon__motion-ts 0.0 +// Project: https://github.com/baz/foo (Does not have to be to GitHub, but prefer linking to a source code repository rather than to a project website.) +// Definitions by: My Self +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +export const easings: { + entrance: { + expressive: string; + productive: string; + }; + exit: { + expressive: string; + productive: string; + }; + standard: { + expressive: string; + productive: string; + }; +}; + +export function motion(name: any, mode: any): any; + +export namespace motion { + const prototype: { + }; + +} + diff --git a/types/carbon__motion/tsconfig.json b/types/carbon__motion/tsconfig.json new file mode 100644 index 0000000000..38245c7c9e --- /dev/null +++ b/types/carbon__motion/tsconfig.json @@ -0,0 +1,19 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": ["es6"], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": ["../"], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "paths": { + "@carbon/motion": ["carbon__motion"] + } + }, + "files": ["index.d.ts", "carbon__motion-tests.ts"] +} diff --git a/types/carbon__motion/tslint.json b/types/carbon__motion/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/carbon__motion/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" }