소스 검색

ref: nothing important

Sv443 6 달 전
부모
커밋
101974dd57
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/interface.ts

+ 2 - 2
src/interface.ts

@@ -188,8 +188,8 @@ export function initInterface() {
 
 /** Sets a global property on the unsafeWindow.BYTM object - ⚠️ use with caution as these props can be accessed by any script on the page! */
 export function setGlobalProp<
-  TKey extends keyof Window["BYTM"],
-  TValue = Window["BYTM"][TKey],
+  TKey extends keyof BytmObject,
+  TValue = BytmObject[TKey],
 >(
   key: TKey | (string & {}),
   value: TValue,