The official TypeScript template for Create React App providing preconfigured TypeScript support and development environment setup.
Overall
score
98%
A CLI utility that scaffolds a React application with the Create React App TypeScript template and applies minimal branding/configuration tweaks.
tsconfig.json, TypeScript entry files, and installed dependencies via the selected package manager. @testsrc/index.tsx renders the starter app through the modern root API while preserving strict mode wrapping. @test--app-name flag sets the package.json name and updates the document title in public/index.html. @test--no-web-vitals removes or disables web vitals reporting so the entry point no longer imports or invokes the metrics hook; omitting the flag leaves the default reporting hook intact. @test@generates
export interface InitOptions {
/**
* Application name to apply to package metadata and document title.
*/
appName?: string;
/**
* When true, web vitals reporting is omitted from the generated entry point.
*/
disableWebVitals?: boolean;
/**
* Preferred package manager used during bootstrapping.
*/
packageManager?: "npm" | "yarn" | "pnpm";
}
/**
* Scaffold a React application using the CRA TypeScript template and apply optional tweaks.
*/
export function initTsReactApp(targetDir: string, options?: InitOptions): Promise<void>;Bootstraps a React application preconfigured for TypeScript via the CRA CLI.
Install with Tessl CLI
npx tessl i tessl/npm-cra-template-typescript