Forráskód Böngészése

add ` & {[key:string]:any}` to `NPC`-definition

Stephan Fuchs 2 hónapja
szülő
commit
8547233c6b
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      sugarcube/src/interfaces.d.ts

+ 1 - 1
sugarcube/src/interfaces.d.ts

@@ -855,7 +855,7 @@ declare global {
 		openTimes?:TimespanIdentifier;
 	}
 
-	export type NPC = NPCAccessor & Character;
+	export type NPC = NPCAccessor & Character & {[key:string]:any};
 
 	export interface NPCActivity{
 		location:string;