mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-21 13:15:50 +00:00
Fix Ref reification (#462)
* Update ApiValue type to use new value format * Use new value format for Ref reification
This commit is contained in:
@@ -5,10 +5,7 @@ local strict = require(script.Parent.strict)
|
||||
|
||||
local RbxId = t.string
|
||||
|
||||
local ApiValue = t.interface({
|
||||
Type = t.string,
|
||||
Value = t.optional(t.any),
|
||||
})
|
||||
local ApiValue = t.keys(t.string)
|
||||
|
||||
local ApiInstanceMetadata = t.interface({
|
||||
ignoreUnknownInstances = t.optional(t.boolean),
|
||||
@@ -96,4 +93,4 @@ return strict("Types", {
|
||||
VirtualInstance = ApiInstance,
|
||||
VirtualMetadata = ApiInstanceMetadata,
|
||||
VirtualValue = ApiValue,
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user