Skip to content

Commit

Permalink
Remove Flamework.hash utility function
Browse files Browse the repository at this point in the history
  • Loading branch information
Fireboltofdeath committed Oct 27, 2024
1 parent 34cd2d7 commit 7a34bbd
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions packages/core/src/flamework.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,6 @@ export namespace Flamework {
*/
export declare function implements<T>(object: unknown, id?: Modding.Generic<T, "id">): object is T;

/**
* Hash a function using the method used internally by Flamework.
* If a context is provided, then Flamework will create a new hash
* if the specified string does not have one in that context.
* @param str The string to hash
* @param context A scope for the hash
* @metadata macro {@link meta intrinsic-inline}
*/
export declare function hash<T extends string, C extends string = never>(meta?: Modding.Hash<T, C>): string;

/**
* Creates a type guard from any arbitrary type.
*
Expand Down

0 comments on commit 7a34bbd

Please sign in to comment.