Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

1.4 KB
Raw Blame
{
    /* A shared TSConfig for use by TypeScript Cloudflare Workers */
    /* TSConfig docs: https://aka.ms/tsconfig.json */
    "compilerOptions": {
        /* tsc is used for by us for type checking, not compilation (the
           Cloudflare workers runtime natively supports TypeScript). */
        "noEmit": true,

        /* The Workers runtime supports the latest and greatest. */
        /* https://developers.cloudflare.com/workers/reference/languages/#javascript--typescript */
        "lib": ["esnext"],
        "target": "esnext",
        "module": "esnext",

        /* Types that are implicitly available. */
        /* https://www.npmjs.com/package/@cloudflare/workers-types */
        "types": ["@cloudflare/workers-types"],

        /* Tell TypeScript how to lookup the file for a given import. */
        "moduleResolution": "bundler",

        /* Speed things up by not type checking `node_modules`. */
        "skipLibCheck": true,
        /* Require the `type` modifier when importing types. */
        "verbatimModuleSyntax": true,
        /* Enable importing .json files. */
        "resolveJsonModule": true,

        /* strict, and then some. */
        "strict": true,
        "noImplicitReturns": true,
        "noUnusedParameters": true,
        "noUnusedLocals": true,
        "noFallthroughCasesInSwitch": true,
        "noUncheckedIndexedAccess": true,
        "exactOptionalPropertyTypes": true
    }
}