1
0

run npm install to generate a package lock

This commit is contained in:
sashinexists
2024-12-07 13:18:31 +11:00
parent e7d08a91b5
commit 23437d228e
2501 changed files with 290663 additions and 0 deletions

26
node_modules/function-once/src/index.ts generated vendored Executable file
View File

@@ -0,0 +1,26 @@
/* MAIN */
const once = <T> ( fn: (() => T) ): (() => T) => {
let called = false;
let result: T;
return (): T => {
if ( !called ) {
called = true;
result = fn ();
}
return result;
};
};
/* EXPORT */
export default once;