summaryrefslogtreecommitdiff
path: root/cli/cache.rs
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2022-06-15 15:25:25 +0100
committerGitHub <noreply@github.com>2022-06-15 10:25:25 -0400
commit0b90e966c5e22b95c283a10407234cad37b8f19b (patch)
tree4c6c5ae047a7489068f816f79f549ca163ba79ae /cli/cache.rs
parentb2109a12aa84b5006616a3e82cb26acf53c23e81 (diff)
chore(cli/cache): Remove CacheType::Declaration (#14873)
Diffstat (limited to 'cli/cache.rs')
-rw-r--r--cli/cache.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/cli/cache.rs b/cli/cache.rs
index eb6ae26ca..8f8e1ade1 100644
--- a/cli/cache.rs
+++ b/cli/cache.rs
@@ -23,7 +23,6 @@ pub struct EmitMetadata {
}
pub enum CacheType {
- Declaration,
Emit,
SourceMap,
TypeScriptBuildInfo,
@@ -181,7 +180,6 @@ impl Cacher for FetchCacher {
specifier: &ModuleSpecifier,
) -> Option<String> {
let extension = match cache_type {
- CacheType::Declaration => "d.ts",
CacheType::Emit => "js",
CacheType::SourceMap => "js.map",
CacheType::TypeScriptBuildInfo => "buildinfo",
@@ -206,7 +204,6 @@ impl Cacher for FetchCacher {
value: String,
) -> Result<(), AnyError> {
let extension = match cache_type {
- CacheType::Declaration => "d.ts",
CacheType::Emit => "js",
CacheType::SourceMap => "js.map",
CacheType::TypeScriptBuildInfo => "buildinfo",