Skip to content

Commit

Permalink
chore(types): lint 'scripts'
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Jul 17, 2023
1 parent 453922a commit fd187e0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/swingset-xsnap-supervisor/jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"include": [
"*.js",
"lib/**/*.js",
"scripts/**/*.js",
"src/**/*.d.ts",
"src/**/*.js",
"test/**/*.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/swingset-xsnap-supervisor/scripts/build-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import process from 'process';
import bundleSource from '@endo/bundle-source';
import { bundlePaths, hashPaths, entryPaths } from '../src/paths.js';

/** @param {Uint8Array} bytes */
/** @param {Uint8Array | string} bytes */
const computeSha256 = bytes => {
const hash = crypto.createHash('sha256');
hash.update(bytes);
Expand Down
1 change: 1 addition & 0 deletions packages/xsnap-lockdown/jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"include": [
"*.js",
"lib/**/*.js",
"scripts/**/*.js",
"src/**/*.d.ts",
"src/**/*.js",
"test/**/*.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/xsnap-lockdown/scripts/build-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import process from 'process';
import bundleSource from '@endo/bundle-source';
import { bundlePaths, entryPaths, hashPaths } from '../src/paths.js';

/** @param {Uint8Array} bytes */
/** @param {Uint8Array | string} bytes */
const computeSha256 = bytes => {
const hash = crypto.createHash('sha256');
hash.update(bytes);
Expand Down

0 comments on commit fd187e0

Please sign in to comment.