Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: reenable tsc lint #55

Merged
merged 6 commits into from
Mar 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dashwallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@
* Find a friend's xpub key
* @callback FindPayWallets
* @param {FindFriendOpts} opts
* @returns {Array<PayWallet>} - wallets matching this friend
* @returns {Promise<Array<PayWallet>>} - wallets matching this friend
*
* @typedef FindFriendOpts
* @prop {String} handle
Expand Down
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ module.exports = require("./dashwallet.js");

// these typedef reexports will be available to dependent packages
/**
* @typedef {import('./dashwallet.js').MaybeHasAddress} MaybeHasAddress
* @typedef {import('./dashwallet.js').MiniUtxo} MiniUtxo
* @typedef {import('./dashwallet.js').CoinInfo} CoinInfo
* @typedef {import('./dashwallet.js').DenomInfo} DenomInfo
Expand Down
2 changes: 1 addition & 1 deletion jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
"skipLibCheck": true /* Skip type checking all .d.ts files. */
},
"include": [
"*.js",
"dashwallet.js",
"bin/**/*.js",
"lib/**/*.js",
"src/**/*.js"
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dashwallet",
"version": "0.7.0",
"version": "0.7.1",
"description": "A more civilized wallet for a less civilized age",
"main": "index.js",
"bin": {},
Expand All @@ -12,12 +12,12 @@
"scripts": {
"bump": "npm version -m \"chore(release): bump to v%s\"",
"fmt": "npm run prettier",
"lint": "npm run jshint",
"lint": "npm run jshint && npm run tsc",
"--------------": "-----------------------------------------",
"jshint": "npx -p [email protected] -- jshint -c ./.jshintrc ./*.js",
"prettier": "npx -p [email protected] -- prettier -w '**/*.{js,md}'",
"reexport-types": "npx -p [email protected] -- reexport",
"tsc": "npx -p [email protected] -- tsc -p ./jsconfig.json",
"tsc": "! npx -p [email protected] -- tsc -p ./jsconfig.json | grep '\\.js(\\d\\+,\\d\\+): error' | grep -v '\\<node_modules/'",
"-------------": "------------------------------------------",
"prepublish": "npm run reexport-types",
"test": "node ./tests/"
Expand Down
Loading