Closed Dionysusnu closed 1 year ago
Repro case: https://roblox-ts.com/playground/#code/JYWwDg9gTgLgBACQhA1gZzgMyhEcBEAAlAEYAeMaA9DgIYDGMAtABbIoCmAJvgNwCwAKCGhIsOAG84AVzQcAymCjAAdgHM4AXyw48RUhWp1GTNEtVq+QobIXn1ACiSo0AGkmaAlAMFA
The useSpring
call is incorrectly allowed until something else causes @rbxts/roact-hooks
to get downloaded.
For example, in
@rbxts/roact-spring
:The current code would not download
@rbxts/roact-hooks
, leading to broken typechecks. (And, instead, throws errors failing to downloadhttps://cdn.jsdelivr.net/npm/@rbxts/roact-spring@latest/src/hooks/@rbxts/roact-hooks/index.d.ts
because it interprets it as a relative reference)