mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-07 13:48:27 +02:00
Create better-xcloud.lite.user.js
This commit is contained in:
4
src/types/index.d.ts
vendored
4
src/types/index.d.ts
vendored
@@ -1,7 +1,9 @@
|
||||
type BuildVariant = 'full' | 'lite';
|
||||
|
||||
// Get type of an array's element
|
||||
type ArrayElement<ArrayType extends readonly unknown[]> = ArrayType extends readonly (infer ElementType)[] ? ElementType : never;
|
||||
|
||||
type PartialRecord<K extends keyof any, T> = Partial<Record<K, T>>
|
||||
type PartialRecord<K extends keyof any, T> = Partial<Record<K, T>>;
|
||||
|
||||
interface Window {
|
||||
AppInterface: any;
|
||||
|
Reference in New Issue
Block a user