get generator script running
This commit is contained in:
parent
57484a0e80
commit
c3bd7b1294
@ -1,4 +1,3 @@
|
||||
import * as Pokemon from 'pokemongo-json-pokedex/output/pokemon.json';
|
||||
|
||||
console.log(Pokemon);
|
||||
console.log(hello);
|
||||
console.log(Pokemon[0]);
|
||||
|
||||
8
src/ts/typings/pokemon.json.d.ts
vendored
8
src/ts/typings/pokemon.json.d.ts
vendored
@ -28,7 +28,7 @@ declare module "pokemongo-json-pokedex/output/pokemon.json" {
|
||||
name : string;
|
||||
}
|
||||
|
||||
const pokemon : {
|
||||
interface IPokemon {
|
||||
dex : number;
|
||||
name : string;
|
||||
cinematicMoves : Array<IMove>;
|
||||
@ -37,6 +37,8 @@ declare module "pokemongo-json-pokedex/output/pokemon.json" {
|
||||
stats : IStats;
|
||||
types : Array<IType>;
|
||||
forms : Array<IForme>
|
||||
};
|
||||
export default pokemon;
|
||||
}
|
||||
|
||||
const pokemon : Array<IPokemon>;
|
||||
export = pokemon;
|
||||
}
|
||||
|
||||
@ -20,7 +20,8 @@
|
||||
}],
|
||||
},
|
||||
"include": [
|
||||
"./src/**/*"
|
||||
"./src/**/*",
|
||||
"."
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user