Fix not able to get Chromium version in WebView

This commit is contained in:
redphx
2024-05-08 16:48:42 +07:00
parent 4e8848d2fb
commit d8fada8f5d
2 changed files with 6 additions and 8 deletions

View File

@@ -1,6 +1,8 @@
// 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>>
interface Window {
AppInterface: any;
BX_FLAGS?: BxFlags;