Add 'types' to package.json
Fixes gttps://github.com/google/mediapipe/issues/4659 PiperOrigin-RevId: 559785635
This commit is contained in:
parent
4b1b6ae7fb
commit
4fb52bb7ef
|
@ -8,7 +8,8 @@
|
||||||
"exports": {
|
"exports": {
|
||||||
"import": "./__NAME___bundle.mjs",
|
"import": "./__NAME___bundle.mjs",
|
||||||
"require": "./__NAME___bundle.cjs",
|
"require": "./__NAME___bundle.cjs",
|
||||||
"default": "./__NAME___bundle.mjs"
|
"default": "./__NAME___bundle.mjs",
|
||||||
|
"types": "./__NAME___.d.ts"
|
||||||
},
|
},
|
||||||
"author": "mediapipe@google.com",
|
"author": "mediapipe@google.com",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user