{
  "moduleResolution": "node",
  "compilerOptions": {
    "baseUrl": "src",
    "paths": {
      "$/*": ["*"],
      "$layouts/*": ["layouts/*"]
    }
  },
  "include": ["src/**/*"],
  "exclude": ["node_modules", "dist", "public"],
  "skipLibCheck": true
}

{
	"moduleResolution": "node",
	"compilerOptions": {
		"baseUrl": "src",
		"paths": {
			"$/*": ["*"],
			"$layouts/*": ["layouts/*"]
		},
		"jsx": "react-jsx",
		"jsxImportSource": "preact"
	},
	"include": ["src/**/*"],
	"exclude": ["node_modules", "dist", "public"],
	"skipLibCheck": true
}

Update TypeScript to understand Preact JSX/TSX files
Update TypeScript to understand Preact JSX/TSX files
