May 8, 2025NoInfer utility for older TypesScript versionsNoInfer.tsTypeScripttype NoInfer<T> = [T][T extends any ? 0 : never]View this gist on GitHub