mirror of
https://github.com/littensy/charm.git
synced 2026-10-23 13:54:07 +00:00
build: remove project json files (#46)
* build: remove project json files Including Rojo project files in packages interferes with certain Wally packages that depend on roblox-ts packages * build: create project files for release
This commit is contained in:
parent
e7fe400fa8
commit
e9d8dffb02
49 changed files with 95 additions and 100 deletions
9
packages/vide/src/index.d.ts
vendored
9
packages/vide/src/index.d.ts
vendored
|
|
@ -1,9 +0,0 @@
|
|||
import { Selector } from "@rbxts/charm";
|
||||
|
||||
/**
|
||||
* Subscribes to the state of an atom and returns a Vide source.
|
||||
*
|
||||
* @param callback The atom or selector to subscribe to.
|
||||
* @returns The reactive source.
|
||||
*/
|
||||
export function useAtom<T>(callback: Selector<T>): () => T;
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
local Charm = require(script.Parent.Charm)
|
||||
local Vide = if script.Parent:FindFirstChild("vide")
|
||||
then require(script.Parent.vide.src) :: never
|
||||
else require(script.Parent.Vide)
|
||||
local Charm = require(script.Parent.Parent.charm)
|
||||
local Vide = if script.Parent.Parent:FindFirstChild("Vide")
|
||||
then require(script.Parent.Parent.Vide)
|
||||
else require((script.Parent.Parent :: any).vide.src) :: never
|
||||
|
||||
--[=[
|
||||
Subscribes to the state of an atom and returns a Vide source.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue