cloudflare
Version:
The official TypeScript library for the Cloudflare API
12 lines (10 loc) • 325 B
JavaScript
/**
* Disclaimer: modules in _shims aren't intended to be imported by SDK users.
*/
import * as shims from './registry.mjs';
import * as auto from 'cloudflare/_shims/auto/runtime';
export const init = () => {
if (!shims.kind) shims.setShims(auto.getRuntime(), { auto: true });
};
export * from './registry.mjs';
init();