Skip to content

Commit

Permalink
Remove CallerMany and GenericMany modding types
Browse files Browse the repository at this point in the history
  • Loading branch information
Fireboltofdeath committed Oct 27, 2024
1 parent 2f11efe commit 34cd2d7
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions packages/core/src/modding.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,23 +75,13 @@ export namespace Modding {
/** @hidden */ _flamework_macro_generic: [T, M];
};

/**
* Retrieves multiple types of metadata from Flamework's user macros.
*/
export type GenericMany<T, M extends keyof GenericMetadata<T>> = Modding.Many<{ [k in M]: Generic<T, k> }>;

/**
* Retrieves metadata about the callsite using Flamework's user macros.
*/
export type Caller<M extends keyof CallerMetadata> = CallerMetadata[M] & {
/** @hidden */ _flamework_macro_caller: M;
};

/**
* Retrieves multiple types of metadata about the callsite using Flamework's user macros.
*/
export type CallerMany<M extends keyof CallerMetadata> = Modding.Many<{ [k in M]: Caller<k> }>;

/**
* Creates an injectable type that can be used to modify dependency injection behavior.
*/
Expand Down

0 comments on commit 34cd2d7

Please sign in to comment.