roblox-tsr
roblox-ts4mo ago
22 replies
Ohirume

replecs networked error

const playerEntity = world.entity();
world.add(playerEntity, networked); // errors on this line, specifically on 'networked'

1. Argument of type 'Entity<MemberFilter>' is not assignable to parameter of type 'Id<TagDiscriminator>'.
     Type 'Entity<MemberFilter>' is not assignable to type 'Entity<TagDiscriminator>'.
       Type 'Entity<MemberFilter>' is not assignable to type '{ readonly __nominal_Entity: unique symbol; readonly __type_TData: TagDiscriminator; }'.
         Types of property '__type_TData' are incompatible.
           Type 'MemberFilter' is not assignable to type 'TagDiscriminator'.
             Type 'undefined' is not assignable to type 'TagDiscriminator'. [2345]
Was this page helpful?