Skip to content

Commit

Permalink
fix: types (#664)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed Jan 28, 2022
1 parent 796dd64 commit f58470e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 14 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/nodejs.yml
Expand Up @@ -35,9 +35,6 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: "npm"

- name: Use latest NPM
run: sudo npm i -g npm

- name: Install dependencies
run: npm ci

Expand Down Expand Up @@ -74,14 +71,6 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: "npm"

- name: Use latest NPM on ubuntu/macos
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
run: sudo npm i -g npm

- name: Use latest NPM on windows
if: matrix.os == 'windows-latest'
run: npm i -g npm

- name: Install dependencies
run: npm ci

Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Expand Up @@ -37,7 +37,7 @@ const template = /\[\\*([\w:]+)\\*\]/i;
* @property {string} filename
* @property {Asset["source"]} source
* @property {Force | undefined} force
* @property {{ [key: string]: string }} info
* @property {{ [key: string]: any }} info
*/

/**
Expand Down
4 changes: 2 additions & 2 deletions types/index.d.ts
Expand Up @@ -20,7 +20,7 @@ export = CopyPlugin;
* @property {string} filename
* @property {Asset["source"]} source
* @property {Force | undefined} force
* @property {{ [key: string]: string }} info
* @property {{ [key: string]: any }} info
*/
/**
* @typedef {string} StringPattern
Expand Down Expand Up @@ -217,7 +217,7 @@ type CopiedResult = {
source: Asset["source"];
force: Force | undefined;
info: {
[key: string]: string;
[key: string]: any;
};
};
type StringPattern = string;
Expand Down

0 comments on commit f58470e

Please sign in to comment.