Skip to content

Commit

Permalink
fix(world): make namespaces not required
Browse files Browse the repository at this point in the history
  • Loading branch information
alvrs committed Mar 20, 2024
1 parent 843298a commit 9b51f3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/world/ts/config/v2/world.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export function defineWorld<const world>(world: validateWorld<world>): resolveWo

// Temporary external export of defineWorld with namespaces disabled
export function defineWorldWithoutNamespaces<const world>(
world: validateWorld<world> & { namespaces: `Namespaces will be enabled soon` },
world: validateWorld<world> & { namespaces?: `Namespaces will be enabled soon` },
): resolveWorld<world> {
validateWorld(world);
return resolveWorld(world) as unknown as resolveWorld<world>;
Expand Down

0 comments on commit 9b51f3e

Please sign in to comment.