From 1caa567299187ee7ac3704a9ab2b2e3e4ed253c4 Mon Sep 17 00:00:00 2001 From: Benjamin Pannell Date: Tue, 26 May 2015 11:00:52 +0200 Subject: [PATCH] Removed some old unused ts.d files --- .gitignore | 2 +- _references.d.ts | 3 +- typings/concoction/concoction.d.ts | 73 ------------------------------ 3 files changed, 2 insertions(+), 76 deletions(-) delete mode 100644 typings/concoction/concoction.d.ts diff --git a/.gitignore b/.gitignore index 642c7d3..7271b48 100644 --- a/.gitignore +++ b/.gitignore @@ -11,5 +11,5 @@ node_modules/ dist/ *.tmp coverage/ -typings/**/*.d.ts +typings/DefinitelyTyped/**/*.d.ts .tscache \ No newline at end of file diff --git a/_references.d.ts b/_references.d.ts index 627eb6f..4995816 100644 --- a/_references.d.ts +++ b/_references.d.ts @@ -1,3 +1,2 @@ -/// +/// /// -/// diff --git a/typings/concoction/concoction.d.ts b/typings/concoction/concoction.d.ts deleted file mode 100644 index 0b27af3..0000000 --- a/typings/concoction/concoction.d.ts +++ /dev/null @@ -1,73 +0,0 @@ -declare module 'concoction' { - export = concoction; -} - -declare class concoction { - /** - * Creates a new recipe with the given ingredients - * @param {Concoction.Ingredient} ingredients The ingredients which compose the recipe - */ - constructor(ingredients: Concoction.Ingredient[]); - - static Ingredient: Concoction.IngredientStatic; - - static Convert: Concoction.ConvertStatic; - static Rename: Concoction.RenameStatic; - - /** - * The ingredients which make up the recipe - * @property {Array} ingredients The ingredients which make up the recipe - */ - ingredients: Concoction.Ingredient[]; - - /** - * Applies the recipie to the given object - * @param {any} object The object to apply the recipie to - */ - apply(object: any); - - /** - * Reverses the application of a recipie on the given object - * @param {any} object The object to apply the recipie to - */ - reverse(object: any); -} - -declare module Concoction { - export interface IngredientStatic { - /** - * Creates a new ingredient which transforms objects as part of a recipe - */ - new (): Ingredient; - } - - export interface Ingredient { - /** - * Applies the ingredient's transformation to the given object - * @param object The object to apply the transformation to - */ - apply(object: any); - - /** - * Reverses the application of the ingredient's transformation to the given object - * @param object The object to apply the transformation to - */ - reverse(object: any); - } - - export interface RenameStatic { - /** - * Creates an ingredient which renames an object's properties - * @param {Object} mapping A map from the original object names to the names you wish to use - */ - new(mapping: { [key: string]: string }) : Ingredient; - } - - export interface ConvertStatic { - /** - * Creates an ingredient which converts an object's properties from one form to another - * @param {Object} mapping A map of object properties to their conversion functions - */ - new(mapping: { [key: string]: Ingredient }): Ingredient; - } -} \ No newline at end of file