cloudflare/cloudflare-typescript

Public

mirrored fromhttps://github.com/cloudflare/cloudflare-typescriptAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
jhutchings1-patch-1

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

src/_shims/index.mjs

11lines · modecode

1/**
2 * Disclaimer: modules in _shims aren't intended to be imported by SDK users.
3 */
4import * as shims from './registry.mjs';
5import * as auto from 'cloudflare/_shims/auto/runtime';
6export const init = () => {
7 if (!shims.kind) shims.setShims(auto.getRuntime(), { auto: true });
8};
9export * from './registry.mjs';
10
11init();
12