mirror of
https://github.com/centau/vide.git
synced 2026-08-20 14:41:37 +00:00
feat: export vide.create types and include more ui element types (#79)
* feat: add more ui instances to Create type * fix: use string requires in init.luau @self string requires are now supported by Roblox, so this should be fine. It works in my Pesde patches and fixes issues with missing types. * feat: export vide.create types Instances and Properties are both useful types that should be able to be used by consumers (e.g. wrapper components). * fix: typo * feat: include exports in repo init.luau Fixes #84
This commit is contained in:
parent
452060a533
commit
f3bfc65607
4 changed files with 21 additions and 3 deletions
|
|
@ -1,10 +1,12 @@
|
|||
assert(game, "when using vide outside of Roblox, require lib.luau instead")
|
||||
|
||||
local vide = require(script.lib)
|
||||
local vide = require("@self/lib")
|
||||
|
||||
export type source<T> = vide.source<T>
|
||||
export type Source<T> = vide.Source<T>
|
||||
export type context<T> = vide.context<T>
|
||||
export type Context<T> = vide.Context<T>
|
||||
export type Instances = vide.Instances
|
||||
export type Properties<T> = vide.Properties<T>
|
||||
|
||||
return vide
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue