TypeScript typings for EdgeOne EdgeFunctions Runtime
npm install @edgeone/ef-typesTypeScript typings for EdgeOne EdgeFunctions Runtime.
``bash`
yarn add @edgeone/ef-types -Dor
npm install @edgeone/ef-types --save-dev
Make sure to remove webworker from the lib array in your tsconfig.json.@edgeone/ef-types
Add to your types in your tsconfig.json.
`json``
{
"compilerOptions": {
"types": ["@edgeone/ef-types"]
}
}