Add 'types' to package.json

Fixes gttps://github.com/google/mediapipe/issues/4659

PiperOrigin-RevId: 559785635
This commit is contained in:
Sebastian Schmidt 2023-08-24 09:56:25 -07:00 committed by Copybara-Service
parent 4b1b6ae7fb
commit 4fb52bb7ef

View File

@ -8,7 +8,8 @@
"exports": {
"import": "./__NAME___bundle.mjs",
"require": "./__NAME___bundle.cjs",
"default": "./__NAME___bundle.mjs"
"default": "./__NAME___bundle.mjs",
"types": "./__NAME___.d.ts"
},
"author": "mediapipe@google.com",
"license": "Apache-2.0",