Revert "chore(deps): prepare us to typescript 4"

This reverts commit 82ba3169fe.
This commit is contained in:
Patrik Oldsberg
2020-08-31 11:12:00 +02:00
parent e27ffb52e1
commit fd7c93db6c
+2 -5
View File
@@ -86,11 +86,8 @@ function checkTypes(pkg) {
'utf8',
);
const deps = (typeDecl.match(/from '.*'/g) || [])
.map(match => match.replace(/^.*from '(.*)'.*$/, '$1'))
.filter(
n =>
!(n.startsWith('.') || n === pkg.name || n.startsWith(`${pkg.name}/`)),
);
.map(match => match.replace(/from '(.*)'/, '$1'))
.filter(n => !n.startsWith('.'));
const errors = [];
const typeDeps = [];