From 778e9e1a03876b44291cca7205d0f0dca86614bd Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Sun, 10 Mar 2024 22:09:18 +0700 Subject: [PATCH] Remove unused type Closes #115 --- index.d.ts | 5 ----- index.js | 3 --- 2 files changed, 8 deletions(-) diff --git a/index.d.ts b/index.d.ts index 08a3f7e..9af7b97 100644 --- a/index.d.ts +++ b/index.d.ts @@ -144,11 +144,6 @@ export type ProgressEmitter = { ): Promise; }; -export type CopyStatus = { - written: number; - percent: number; -}; - /** Copy files. diff --git a/index.js b/index.js index 53c3f82..0c67c66 100644 --- a/index.js +++ b/index.js @@ -138,9 +138,6 @@ export default function cpy( destination, {concurrency = os.availableParallelism(), ...options} = {}, ) { - /** - @type {Map} - */ const copyStatus = new Map(); /**