◐ Shell
clean mode source ↗

feat: Publish TypeScript types in Feast UI package by peruukki · Pull Request #4551 · feast-dev/feast

What this PR does / why we need it:

Makes Feast UI TypeScript declarations available in TypeScript projects that use Feast UI as a module.

Which issue(s) this PR fixes:

Fixes #4539.

Misc

I tested this by running yarn build:lib-dev in this repository (after installing yalc), then linking it in my test app with yalc add @feast-dev/feast-ui.

Before

No type declarations available:

feast-ui-no-types

Only "import FeastUI" shown on hover:

feast-ui-plain-import

After

Type declarations available and shown on hover:

feast-ui-typed

You can also easily navigate to the type declaration file:

feast-ui-type-declarations