You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is possible to get full IDE support without setting up any transpilers.
Typescript supports .js files if they add the /// @ts-check comment and use JSDoc.
Maybe the following example would be a good reference for fast typesafe implementation without bundling/transpiling:
npm install --save-dev @types/akamai-edgeworkers
/// @ts-check/// <reference types="akamai-edgeworkers" />/** * @param {EW.ImmutableRequest & EW.HasRespondWith} request * @param {EW.Response} response */exportfunctiononClientRequest(request,response){request.respondWith(200,{},"<html><body><h1>Hello World From Akamai EdgeWorkers</h1></body></html>");}
The text was updated successfully, but these errors were encountered:
It is possible to get full IDE support without setting up any transpilers.
Typescript supports
.js
files if they add the/// @ts-check
comment and use JSDoc.Maybe the following example would be a good reference for fast typesafe implementation without bundling/transpiling:
The text was updated successfully, but these errors were encountered: