Add carbon motion

This commit is contained in:
Vince Picone 2019-02-07 09:49:53 -06:00
parent 0b417416fe
commit 12e28d0e28
4 changed files with 48 additions and 0 deletions

28
types/carbon__motion/index.d.ts vendored Normal file
View File

@ -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 <https://github.com/me>
// 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: {
};
}

View File

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

View File

@ -0,0 +1 @@
{ "extends": "dtslint/dt.json" }