Skip to main content
TypeScript template preview

Create the project

npx extension@latest create my-extension --template=typescript

What you get

Static types across popup, content, and background scripts, with chrome and browser API typings configured. Catch manifest, messaging, and permission bugs at compile time instead of in the browser console. A solid choice for teams that want strong refactor confidence as the extension grows.

Source

Browse the full source on GitHub: extension-js/examples/typescript.