diff --git a/packages/google-cloud-dns/package.json b/packages/google-cloud-dns/package.json index 8a6d8ff495f..3b7e9715fe2 100644 --- a/packages/google-cloud-dns/package.json +++ b/packages/google-cloud-dns/package.json @@ -58,7 +58,7 @@ "@types/node": "^10.9.4", "@types/proxyquire": "^1.3.28", "@types/request": "^2.48.1", - "@types/tmp": "0.1.0", + "@types/tmp": "0.2.0", "@types/uuid": "^8.0.0", "c8": "^7.0.0", "codecov": "^3.0.2", diff --git a/packages/google-cloud-dns/system-test/dns.ts b/packages/google-cloud-dns/system-test/dns.ts index 94835e7fe0d..d7a5b4927f6 100644 --- a/packages/google-cloud-dns/system-test/dns.ts +++ b/packages/google-cloud-dns/system-test/dns.ts @@ -169,7 +169,7 @@ describe('dns', () => { }); tmp.setGracefulCleanup(); - tmp.file((err: Error, tmpFilePath: string) => { + tmp.file((err, tmpFilePath) => { assert.ifError(err); fs.writeFileSync(tmpFilePath, zoneFileTemplate, 'utf-8'); ZONE.empty(err => {