diff --git a/package.json b/package.json index f763330..afd93c2 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "i2c-bus": "~5" }, "devDependencies": { + "@types/i2c-bus": "~5", "@types/node": "~12", "typescript": "~3.7" }, diff --git a/tsconfig.json b/tsconfig.json index eb1a87d..7c4531f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,12 +4,7 @@ "module": "commonjs", "moduleResolution": "node", "declaration": true, - "noImplicitThis": true, - "alwaysStrict": true, - "strictBindCallApply": true, - "strictNullChecks": true, - "strictFunctionTypes": true, - "strictPropertyInitialization": true, + "strict": true, "noImplicitReturns": true, "noUnusedLocals": true, "noUnusedParameters": true diff --git a/yarn.lock b/yarn.lock index 97d584f..3ecd066 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,6 +2,18 @@ # yarn lockfile v1 +"@types/i2c-bus@~5": + version "5.1.0" + resolved "https://registry.yarnpkg.com/@types/i2c-bus/-/i2c-bus-5.1.0.tgz#241b91d40deb0b2d08ed60862efa655e53e96c30" + integrity sha512-zBwBpfaFzKtYaS2j/sh+m/zKRcbXuG26/wWlJq3F9+oWXQ9DSxuJXOU+t1PMorj3DBZzpLO8LqbVTGRE1PUb3g== + dependencies: + "@types/node" "*" + +"@types/node@*": + version "13.7.0" + resolved "https://registry.yarnpkg.com/@types/node/-/node-13.7.0.tgz#b417deda18cf8400f278733499ad5547ed1abec4" + integrity sha512-GnZbirvmqZUzMgkFn70c74OQpTTUcCzlhQliTzYjQMqg+hVKcDnxdL19Ne3UdYzdMA/+W3eb646FWn/ZaT1NfQ== + "@types/node@~12": version "12.12.26" resolved "https://registry.yarnpkg.com/@types/node/-/node-12.12.26.tgz#213e153babac0ed169d44a6d919501e68f59dea9"