JaimeGensler / thyseus

An archetypal Entity Component System, built entirely in Typescript
MIT License
74 stars 3 forks source link

[BUG] Typescript return type for vite in rollup-plugin-thyseus incorrect #70

Closed DanielBelmes closed 10 months ago

DanielBelmes commented 10 months ago

Bug Description

When viewing vite plugin config. The Thyseus() return type is being flagged as an incompatible type. From looking at other rollup vite compatible plugins. Most seem to use return type Plugin from 'rollup'

Thyseus Version

HEAD

Bundler / Build Tool

Vite, pnpm

Environment & Version

Vscode

Reproduction Repo (optional)

Just create a new folder with the create thyseus template

JaimeGensler commented 10 months ago

Thanks for the report 🙏 goofy I managed to miss this, should be a simple fix. Will cut a new version as soon as it's resolved!