A collection of types for the EAPI toolkit
npm install @p-j/eapi-types
# or
yarn add @p-j/eapi-eapi-types
The following is a minimal tsconfig.json
for use alongside this package:
tsconfig.json
{
"compilerOptions": {
"target": "esnext",
"module": "commonjs",
"lib": ["esnext", "webworker"],
"types": ["@cloudflare/workers-types", "@p-j/eapi-types"]
}
}