diff --git a/CHANGELOG.md b/CHANGELOG.md index feef920f..e67e6ac1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ Unreleased changes. Release notes have not yet been written. Feature enhancements: -* Added or improved file type filtering for Ada, DITA, Elixir, Fuchsia, Gentoo, GraphQL, Markdown, Raku, USD, V +* Added or improved file type filtering for Ada, DITA, Elixir, Fuchsia, Gentoo, GraphQL, Markdown, Raku, TypeScript, USD, V * [FEATURE #2195](https://github.com/BurntSushi/ripgrep/issues/2195): When `extra-verbose` mode is enabled in zsh, show extra file type info. * [FEATURE #2409](https://github.com/BurntSushi/ripgrep/pull/2409): diff --git a/crates/ignore/src/default_types.rs b/crates/ignore/src/default_types.rs index 6d0f8824..6288adf9 100644 --- a/crates/ignore/src/default_types.rs +++ b/crates/ignore/src/default_types.rs @@ -289,6 +289,7 @@ pub const DEFAULT_TYPES: &[(&str, &[&str])] = &[ ("ts", &["*.ts", "*.tsx", "*.cts", "*.mts"]), ("twig", &["*.twig"]), ("txt", &["*.txt"]), + ("typescript", &["*.ts", "*.tsx", "*.cts", "*.mts"]), ("typoscript", &["*.typoscript", "*.ts"]), ("usd", &["*.usd", "*.usda", "*.usdc"]), ("v", &["*.v"]),