I added a declaration file that describes the Pokedex class and its methods. It will enable type annotations and autocomplete suggestions for both TypeScript and JavaScript developers. Here's how it looks:
// Note: Pokedex is destructured on import
import { Pokedex } from "pokeapi-js-wrapper";
Nice typo-squatting. You are trying to import https://www.npmjs.com/package/typescipt which probably contains malicious code. I reported the package over at NPM as well.
Add types declaration, Issue: #26
I added a declaration file that describes the
Pokedex
class and its methods. It will enable type annotations and autocomplete suggestions for both TypeScript and JavaScript developers. Here's how it looks: