mirror of
https://github.com/morten-olsen/mini-loader.git
synced 2026-02-08 01:36:26 +01:00
12 lines
144 B
TypeScript
12 lines
144 B
TypeScript
import { workerData } from 'worker_threads';
|
|
|
|
const get = <T>() => {
|
|
return workerData as T;
|
|
};
|
|
|
|
const input = {
|
|
get,
|
|
};
|
|
|
|
export { input };
|