git.delta.rocks / unique-network / refs/commits / f9470659c53f

difftreelog

feat types regeneration script

Yaroslav Bolyukin2021-11-16parent: #94e2090.patch.diff
in: master

2 files changed

modifiedtests/.eslintrc.jsondiffbeforeafterboth
--- a/tests/.eslintrc.json
+++ b/tests/.eslintrc.json
@@ -63,6 +63,7 @@
             {
                 "destructuring": "all"
             }
-        ]
+        ],
+        "@typescript-eslint/ban-ts-comment": "off"
     }
-}
\ No newline at end of file
+}
addedtests/update_types.shdiffbeforeafterboth
after · tests/update_types.sh
1#!/usr/bin/env sh23if [[ ! -f unique-types-js ]]; then4	git clone git@github.com:UniqueNetwork/unique-types-js.git5fi67yarn polkadot-types89rsync -ar --delete src/interfaces/ unique-types-js/src/interfaces10for file in unique-types-js/src/interfaces/augment-*; do11	sed -i '1s;^;//@ts-nocheck\n;' $file12done1314pushd unique-types-js15git add src/interfaces/16git commit -m "chore: regenerate types"17popd