From 1cd056b97c851eac1726610c85193ddc85cbddb7 Mon Sep 17 00:00:00 2001 From: Gal Zahavi <38544478+galz10@users.noreply.github.com> Date: Thu, 6 Jan 2022 14:17:11 -0800 Subject: [PATCH] fix: add types to package.json (#977) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: add types to package.json * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot --- package.json | 1 + protos/protos.d.ts | 2 +- protos/protos.js | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 3d4bd45e..baac7652 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ }, "repository": "googleapis/nodejs-vision", "main": "build/src/index.js", + "types": "build/src/index.d.ts", "files": [ "build/protos", "build/src" diff --git a/protos/protos.d.ts b/protos/protos.d.ts index bd9c2709..a686870a 100644 --- a/protos/protos.d.ts +++ b/protos/protos.d.ts @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/protos/protos.js b/protos/protos.js index 2b5332bf..779ee507 100644 --- a/protos/protos.js +++ b/protos/protos.js @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License.