remove text and fix lint

This commit is contained in:
notmd
2023-01-16 11:55:21 +07:00
parent 20752f3d2a
commit eec432758b
2 changed files with 2 additions and 3 deletions
+1
View File
@@ -1,2 +1,3 @@
// https://github.com/ts-essentials/ts-essentials/blob/25cae45c162f8784e3cdae8f43783d0c66370a57/lib/types.ts#L437
// eslint-disable-next-line @typescript-eslint/no-explicit-any
export type ElementOf<T extends readonly any[]> = T extends readonly (infer ET)[] ? ET : never;