-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(world): add validateNamespace helper #2894
Conversation
|
@@ -54,7 +54,7 @@ export type validateNamespacesWithShorthands<namespaces, scope extends Scope = A | |||
[namespace in keyof namespaces]: { | |||
[key in keyof namespaces[namespace]]: key extends "tables" | |||
? validateTablesWithShorthands<namespaces[namespace][key], scope> | |||
: validateNamespaces<namespaces[namespace], scope>[key]; | |||
: validateNamespace<namespaces[namespace], scope>[key]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to remember to add this to validateWorld
too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will do that in #2880
No description provided.