From 7ad922eb19c1d1de8da1ebc6bbfe6a481468e70c Mon Sep 17 00:00:00 2001 From: Bradyn Glines Date: Sun, 21 Jan 2018 17:10:39 -0700 Subject: [PATCH] IQuery Interface Added the definition to the IQuery interface to be used under the PokemonTCG namespace --- src/index.ts | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/src/index.ts b/src/index.ts index 7fe3644..7ed86cc 100644 --- a/src/index.ts +++ b/src/index.ts @@ -7,26 +7,11 @@ import { SubType as BaseSubType } from './classes/subType'; import { SuperType as BaseSuperType } from './classes/superType'; import { Type as BaseType } from './classes/type'; -import { IAttack as BaseIAttack } from './interfaces/attack'; -import { IAncientAbility as BaseIAncientAbility } from './interfaces/ancientAbility'; -import { IAbility as BaseIAbility } from './interfaces/ability'; -import { IQuery as BaseIQuery } from './interfaces/query'; -import { ISet as BaseISet } from './interfaces/set'; -import { ISuperType as BaseISuperType } from './interfaces/superType'; -import { ISubType as BaseISubType } from './interfaces/subType'; -import { IType as BaseIType } from './interfaces/type'; - export namespace PokemonTCG { - export type IAttack = BaseIAttack; - export type IAncientAbility = BaseIAncientAbility; - export type IAbility = BaseIAbility; - // export type IQuery = BaseIQuery; - export type ISet = BaseISet; - export type ISuperType = BaseISuperType; - export type ISubType = BaseISubType; - export type IType = BaseIType; - - export interface IQuery extends BaseIQuery {} + export interface IQuery { + name: string; + value: string | number; + } export const Card = BaseCard; export type Card = BaseCard;