difftreelog
feat types regeneration script
in: master
2 files changed
tests/.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
+}
tests/update_types.shdiffbeforeafterboth1#!/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