Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.awfixer.me/llms.txt

Use this file to discover all available pages before exploring further.

JSTime reads the paths field in your tsconfig.json to re-write import paths. This is useful for aliasing package names or avoiding long relative paths.
{
  "compilerOptions": {
    "paths": {
      "my-custom-name": "zod",
      "@components/*": "./src/components/*"
    }
  }
}

With the above tsconfig.json, the following imports will be re-written:
import { z } from "my-custom-name"; // imports from "zod"
import { Button } from "@components/Button"; // imports from "./src/components/Button"

See Docs > Runtime > TypeScript for more information on using TypeScript with JSTime.