@wayward/types 2.11.3-beta.dev.20220125.1 → 2.11.4-beta.dev.20220129.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,11 +8,9 @@
8
8
  * Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
- import type { IMoveTypeZ } from "game/entity/creature/ICreatureManager";
12
11
  import type Entity from "game/entity/Entity";
13
- import type { IEntityManager } from "game/entity/IEntityManager";
12
+ import type { IEntityManager, IPlayerBound } from "game/entity/IEntityManager";
14
13
  import { ObjectManager } from "game/ObjectManager";
15
- import Bound3 from "utilities/math/Bound3";
16
14
  export interface IEntityManagerEvents<T extends Entity> {
17
15
  spawn(entity: T): any;
18
16
  remove(entity: T): any;
@@ -25,10 +23,8 @@ export interface IEntityCanCreateOptions {
25
23
  chanceOfScarecrowScare?: number;
26
24
  }
27
25
  export default abstract class EntityManager<T extends Entity> extends ObjectManager<T, IEntityManagerEvents<T>> implements IEntityManager<T> {
28
- private readonly moveTypesInFov;
29
26
  remove(entity: T): void;
30
- updateFov(bounds: Bound3[]): number;
31
- getMoveTypesInFov(): IMoveTypeZ[];
27
+ updateFov(playerBounds: IPlayerBound[]): void;
32
28
  /**
33
29
  * Checks if the target position is a good spot for a new entity
34
30
  */
@@ -17,7 +17,7 @@ import type { ICheckUnderOptions, ICrafted, ICustomizations, IHumanEvents, IRest
17
17
  import { EquipType, SkillType } from "game/entity/IHuman";
18
18
  import { Stat } from "game/entity/IStats";
19
19
  import type { IAttackHand, IMobCheck } from "game/entity/player/IPlayer";
20
- import { PlayerState } from "game/entity/player/IPlayer";
20
+ import { WeightStatus, PlayerState } from "game/entity/player/IPlayer";
21
21
  import PlayerDefense from "game/entity/player/PlayerDefense";
22
22
  import SkillManager from "game/entity/skill/SkillManager";
23
23
  import { StatChangeCurrentTimerStrategy } from "game/entity/StatFactory";
@@ -89,6 +89,7 @@ export default abstract class Human extends Entity implements IHasInsulation {
89
89
  updateReputation(reputation: number): void;
90
90
  capReputation(): void;
91
91
  setPaddling(item: Item | undefined, extinguishTorches?: boolean): void;
92
+ getWeightStatus(): WeightStatus;
92
93
  /**
93
94
  * Extinguishes all torches the player is holding.
94
95
  */
@@ -9,15 +9,14 @@
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
11
  import type Entity from "game/entity/Entity";
12
- import type { MoveType } from "game/entity/IEntity";
12
+ import type Player from "game/entity/player/Player";
13
13
  import type { IBound3 } from "utilities/math/Bound3";
14
14
  export interface IEntityManager<T extends Entity> {
15
15
  remove(entity: T): void;
16
- updateFov(bounds: IBound3[]): number;
17
- getMoveTypesInFov(): IMoveTypeZ[];
16
+ updateFov(playerBounds: IPlayerBound[]): void;
18
17
  }
19
18
  export default IEntityManager;
20
- export interface IMoveTypeZ {
21
- moveType: MoveType;
22
- z: number;
19
+ export interface IPlayerBound {
20
+ player: Player;
21
+ bound: IBound3;
23
22
  }
@@ -14,6 +14,7 @@ import type { ActionType } from "game/entity/action/IAction";
14
14
  import type Entity from "game/entity/Entity";
15
15
  import type Human from "game/entity/Human";
16
16
  import type { AttackType } from "game/entity/IEntity";
17
+ import type { WeightStatus } from "game/entity/player/IPlayer";
17
18
  import type { ISkillEvents } from "game/entity/skill/SkillManager";
18
19
  import type { IHasImagePath, Quality } from "game/IObject";
19
20
  import type { ItemType } from "game/item/IItem";
@@ -55,6 +56,11 @@ export interface IHumanEvents extends Events<Entity>, ISkillEvents {
55
56
  */
56
57
  canAttack(weapon: Item | undefined, attackType: AttackType): boolean | undefined;
57
58
  calculateEquipmentStats(): any;
59
+ /**
60
+ * Called when getting the players weight status
61
+ * @returns The weight status of the player or undefined to use the default logic
62
+ */
63
+ getWeightStatus(): WeightStatus | undefined;
58
64
  /**
59
65
  * Called when checking if a human is swimming
60
66
  * @param isSwimming True if the human is swimming
@@ -229,3 +235,8 @@ export interface IHumanOld extends Partial<Human> {
229
235
  core: number;
230
236
  }>;
231
237
  }
238
+ /**
239
+ * At this weight or more, you are encumbered.
240
+ * Defaults to 90% (0.9)
241
+ */
242
+ export declare const WEIGHT_ENCUMBERED = 0.9;
@@ -16,7 +16,7 @@ declare const actionDescriptions: {
16
16
  78: import("./Action").Action<[import("game/entity/action/IAction").ActionArgument.ItemNearby], import("../player/Player").default | import("../npc/NPC").default, void, [import("../../item/Item").default]>;
17
17
  3: import("./Action").Action<[[import("game/entity/action/IAction").ActionArgument.ItemInventory, import("game/entity/action/IAction").ActionArgument.Undefined], [import("game/entity/action/IAction").ActionArgument.AttackType, import("game/entity/action/IAction").ActionArgument.Undefined]], import("../player/Player").default | import("../npc/NPC").default, void, [(import("../../item/Item").default | undefined)?, (import("../IEntity").AttackType | undefined)?]>;
18
18
  27: import("./Action").Action<[import("game/entity/action/IAction").ActionArgument.ItemNearby], import("../player/Player").default | import("../npc/NPC").default, void, [import("../../item/Item").default]>;
19
- 5: import("./Action").Action<[import("game/entity/action/IAction").ActionArgument.ItemInventory], import("../player/Player").default, void, [import("../../item/Item").default]>;
19
+ 5: import("./Action").Action<[import("game/entity/action/IAction").ActionArgument.ItemInventory], import("../player/Player").default | import("../npc/NPC").default, void, [import("../../item/Item").default]>;
20
20
  15: import("./Action").Action<[import("game/entity/action/IAction").ActionArgument.ItemInventory], import("../player/Player").default | import("../npc/NPC").default, void, [import("../../item/Item").default]>;
21
21
  99: import("./Action").Action<[[import("game/entity/action/IAction").ActionArgument.ItemInventory, import("game/entity/action/IAction").ActionArgument.Undefined], [import("game/entity/action/IAction").ActionArgument.Boolean, import("game/entity/action/IAction").ActionArgument.Undefined]], import("../player/Player").default | import("../npc/NPC").default, void, [(import("../../item/Item").default | undefined)?, (boolean | undefined)?]>;
22
22
  71: import("./Action").Action<[[import("game/entity/action/IAction").ActionArgument.Container, import("game/entity/action/IAction").ActionArgument.Undefined], [import("game/entity/action/IAction").ActionArgument.Boolean, import("game/entity/action/IAction").ActionArgument.Undefined]], import("../player/Player").default | import("../npc/NPC").default, void, [(import("../../item/IItem").IContainer | undefined)?, (boolean | undefined)?]>;
@@ -35,7 +35,7 @@ declare const actionDescriptions: {
35
35
  7: import("./Action").Action<[import("game/entity/action/IAction").ActionArgument.ItemNearby], import("../player/Player").default | import("../npc/NPC").default, void, [import("../../item/Item").default]>;
36
36
  83: import("./Action").Action<[import("game/entity/action/IAction").ActionArgument.ItemNearby, [import("game/entity/action/IAction").ActionArgument.ItemNearby, import("game/entity/action/IAction").ActionArgument.Undefined]], import("../player/Player").default | import("../npc/NPC").default, void, [import("../../item/Item").default, (import("../../item/Item").default | undefined)?]>;
37
37
  93: import("./Action").Action<[import("game/entity/action/IAction").ActionArgument.ItemInventory, [import("game/entity/action/IAction").ActionArgument.ItemInventory, import("game/entity/action/IAction").ActionArgument.Undefined]], import("../player/Player").default | import("../npc/NPC").default, void, [import("../../item/Item").default, (import("../../item/Item").default | undefined)?]>;
38
- 63: import("./Action").Action<[import("game/entity/action/IAction").ActionArgument.ItemNearby, import("game/entity/action/IAction").ActionArgument.EquipType, [import("game/entity/action/IAction").ActionArgument.Boolean, import("game/entity/action/IAction").ActionArgument.Undefined], [import("game/entity/action/IAction").ActionArgument.Boolean, import("game/entity/action/IAction").ActionArgument.Undefined]], import("../player/Player").default, void, [import("../../item/Item").default, import("../IHuman").EquipType, (boolean | undefined)?, (boolean | undefined)?]>;
38
+ 63: import("./Action").Action<[import("game/entity/action/IAction").ActionArgument.ItemNearby, import("game/entity/action/IAction").ActionArgument.EquipType, [import("game/entity/action/IAction").ActionArgument.Boolean, import("game/entity/action/IAction").ActionArgument.Undefined], [import("game/entity/action/IAction").ActionArgument.Boolean, import("game/entity/action/IAction").ActionArgument.Undefined]], import("../player/Player").default | import("../npc/NPC").default, void, [import("../../item/Item").default, import("../IHuman").EquipType, (boolean | undefined)?, (boolean | undefined)?]>;
39
39
  37: import("./Action").Action<[import("game/entity/action/IAction").ActionArgument.ItemInventory], import("../player/Player").default | import("../npc/NPC").default, void, [import("../../item/Item").default]>;
40
40
  35: import("./Action").Action<[[import("game/entity/action/IAction").ActionArgument.ItemInventory, import("game/entity/action/IAction").ActionArgument.Undefined], [import("game/entity/action/IAction").ActionArgument.AttackType, import("game/entity/action/IAction").ActionArgument.Undefined]], import("../player/Player").default | import("../npc/NPC").default, void, [(import("../../item/Item").default | undefined)?, (import("../IEntity").AttackType | undefined)?]>;
41
41
  21: import("./Action").Action<[[import("game/entity/action/IAction").ActionArgument.ItemInventory, import("game/entity/action/IAction").ActionArgument.Undefined], [import("game/entity/action/IAction").ActionArgument.Boolean, import("game/entity/action/IAction").ActionArgument.Undefined]], import("../player/Player").default | import("../npc/NPC").default, void, [(import("../../item/Item").default | undefined)?, (boolean | undefined)?]>;
@@ -46,7 +46,7 @@ declare const actionDescriptions: {
46
46
  11: import("./Action").Action<[import("game/entity/action/IAction").ActionArgument.ItemNearby], import("../player/Player").default | import("../npc/NPC").default, void, [import("../../item/Item").default]>;
47
47
  45: import("./Action").Action<[import("game/entity/action/IAction").ActionArgument.ItemInventory], import("../player/Player").default | import("../npc/NPC").default, void, [import("../../item/Item").default]>;
48
48
  76: import("./Action").Action<[], import("../player/Player").default | import("../npc/NPC").default, void, []>;
49
- 60: import("./Action").Action<[], import("../player/Player").default, void, []>;
49
+ 60: import("./Action").Action<[], import("../player/Player").default | import("../npc/NPC").default, void, []>;
50
50
  26: import("./Action").Action<[import("game/entity/action/IAction").ActionArgument.ItemInventory], import("../player/Player").default | import("../npc/NPC").default, void, [import("../../item/Item").default]>;
51
51
  91: import("./Action").Action<[import("game/entity/action/IAction").ActionArgument.Integer32, [import("game/entity/action/IAction").ActionArgument.Boolean, import("game/entity/action/IAction").ActionArgument.Integer32], [import("game/entity/action/IAction").ActionArgument.Object, import("game/entity/action/IAction").ActionArgument.Undefined]], import("../player/Player").default, void, [number, number | boolean, any?]>;
52
52
  56: import("./Action").Action<[], import("../player/Player").default | import("../npc/NPC").default, void, []>;
@@ -10,5 +10,5 @@
10
10
  */
11
11
  import { Action } from "game/entity/action/Action";
12
12
  import { ActionArgument } from "game/entity/action/IAction";
13
- declare const _default: Action<[ActionArgument.ItemInventory], import("../../player/Player").default, void, [import("../../../item/Item").default]>;
13
+ declare const _default: Action<[ActionArgument.ItemInventory], import("../../player/Player").default | import("../../npc/NPC").default, void, [import("../../../item/Item").default]>;
14
14
  export default _default;
@@ -10,5 +10,5 @@
10
10
  */
11
11
  import { Action } from "game/entity/action/Action";
12
12
  import { ActionArgument } from "game/entity/action/IAction";
13
- declare const _default: Action<[ActionArgument.ItemNearby, ActionArgument.EquipType, [ActionArgument.Boolean, ActionArgument.Undefined], [ActionArgument.Boolean, ActionArgument.Undefined]], import("../../player/Player").default, void, [import("../../../item/Item").default, import("game/entity/IHuman").EquipType, (boolean | undefined)?, (boolean | undefined)?]>;
13
+ declare const _default: Action<[ActionArgument.ItemNearby, ActionArgument.EquipType, [ActionArgument.Boolean, ActionArgument.Undefined], [ActionArgument.Boolean, ActionArgument.Undefined]], import("../../player/Player").default | import("../../npc/NPC").default, void, [import("../../../item/Item").default, import("game/entity/IHuman").EquipType, (boolean | undefined)?, (boolean | undefined)?]>;
14
14
  export default _default;
@@ -9,5 +9,5 @@
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
11
  import { Action } from "game/entity/action/Action";
12
- declare const _default: Action<[], import("../../player/Player").default, void, []>;
12
+ declare const _default: Action<[], import("../../player/Player").default | import("../../npc/NPC").default, void, []>;
13
13
  export default _default;
@@ -9,12 +9,7 @@
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
11
  import type { CreatureType } from "game/entity/creature/ICreature";
12
- import type { MoveType } from "game/entity/IEntity";
13
12
  export interface ISpawnableCreatures {
14
13
  pool: CreatureType[];
15
14
  aberrantChance: number;
16
15
  }
17
- export interface IMoveTypeZ {
18
- moveType: MoveType;
19
- z: number;
20
- }
@@ -183,11 +183,6 @@ export interface IPlayerEvents extends Events<Human> {
183
183
  * @returns A number to set the player weight to or undefined to use the default logic
184
184
  */
185
185
  updateWeight(newWeight: number): number | undefined;
186
- /**
187
- * Called when getting the players weight status
188
- * @returns The weight status of the player or undefined to use the default logic
189
- */
190
- getWeightStatus(): WeightStatus | undefined;
191
186
  /**
192
187
  * Called when getting the players weight or stamina movement penalty
193
188
  * @returns The weight/stamina movement penalty for the player or undefined to use the default logic
@@ -376,11 +371,6 @@ export declare enum WeightStatus {
376
371
  * The amount of extra weight the player can hold (added to max health)
377
372
  */
378
373
  export declare const STRENGTH_BONUS = 25;
379
- /**
380
- * At this weight or more, you are encumbered.
381
- * Defaults to 90% (0.9)
382
- */
383
- export declare const WEIGHT_ENCUMBERED = 0.9;
384
374
  export interface IWalkPath {
385
375
  path: IVector2[];
386
376
  force?: boolean;
@@ -20,7 +20,7 @@ import { EquipType, RestCancelReason, SkillType } from "game/entity/IHuman";
20
20
  import type { IStat } from "game/entity/IStats";
21
21
  import { Stat } from "game/entity/IStats";
22
22
  import type { ILoadOnIslandOptions, IMovementIntent, IPlayerEvents, IWalkPath } from "game/entity/player/IPlayer";
23
- import { TurnType, WeightStatus } from "game/entity/player/IPlayer";
23
+ import { TurnType } from "game/entity/player/IPlayer";
24
24
  import MessageManager from "game/entity/player/MessageManager";
25
25
  import NoteManager from "game/entity/player/note/NoteManager";
26
26
  import QuestManager from "game/entity/player/quest/QuestManager";
@@ -144,7 +144,6 @@ export default class Player extends Human implements IUnserializedCallback {
144
144
  load(): void;
145
145
  setup(spawnPoint: IVector3): void;
146
146
  updateReputation(reputation: number): void;
147
- getWeightStatus(): WeightStatus;
148
147
  getWeightOrStaminaMovementPenalty(): number;
149
148
  /**
150
149
  * Check if there is a still in front of the player.
@@ -219,6 +218,12 @@ export default class Player extends Human implements IUnserializedCallback {
219
218
  * Only use this clientside
220
219
  */
221
220
  isExploredClientSide(x: number, y: number, z: number): boolean;
221
+ /**
222
+ * Multiply the reputation amount with whatever is set via milestone modifiers or custom game options for this player.
223
+ * @param reputation A number or undefined to be mutiplied.
224
+ * @returns A number or undefined if a reputation number was not passed.
225
+ */
226
+ getReputationMultiplier(reputation: number | undefined): number | undefined;
222
227
  /**
223
228
  * @deprecated Do not call this with players.
224
229
  */
@@ -20,7 +20,8 @@ import type Human from "game/entity/Human";
20
20
  import { SkillType } from "game/entity/IHuman";
21
21
  import NPCManager from "game/entity/npc/NPCManager";
22
22
  import Player from "game/entity/player/Player";
23
- import { CreationId, FireType, IGameOld, TickFlag, TileUpdateType } from "game/IGame";
23
+ import type { IGameOld } from "game/IGame";
24
+ import { CreationId, FireType, TickFlag, TileUpdateType } from "game/IGame";
24
25
  import { Quality } from "game/IObject";
25
26
  import type { IIslandEvents, IIslandLoadOptions, ISeeds, IWaterContamination, IWaterFill, IWell } from "game/island/IIsland";
26
27
  import { WaterType } from "game/island/IIsland";
@@ -95,6 +96,11 @@ export default class Island extends EventEmitter.Host<IIslandEvents> implements
95
96
  * Set of players on this island
96
97
  */
97
98
  readonly players: Set<Player>;
99
+ /**
100
+ * Entity move types in fov on this island
101
+ * `${z}-${moveType}` -> Players
102
+ */
103
+ readonly moveTypesInFov: Map<string, Set<Player>>;
98
104
  previousSaveVersion: IVersionInfo | undefined;
99
105
  brokenReferencesCount: number;
100
106
  civilizationScore: number;
@@ -23,8 +23,8 @@ export interface IGetItemOptions {
23
23
  */
24
24
  excludeProtectedItems: boolean;
25
25
  /**
26
- * True to include protected items if they pass an item.willBreakOnDamage() check.
27
- * excludeProtectedItems must be set to false for this to work.
26
+ * True to only include protected items if they pass an item.willBreakOnDamage() check.
27
+ * excludeProtectedItems must be set to true for this to work.
28
28
  */
29
29
  includeProtectedItemsThatWillNotBreak: ActionType;
30
30
  /**
@@ -44,7 +44,7 @@ interface IReferenceTypeMap {
44
44
  export declare type Referenceable = IReferenceTypeMap[ReferenceableReferenceTypes];
45
45
  export default class ReferenceManager {
46
46
  static isEnumReference(type: ReferenceType): type is EnumReferenceTypes;
47
- static getList(type: ReferenceType, gameIsland?: Island): import("../entity/creature/corpse/CorpseManager").default | import("../entity/creature/CreatureManager").default | import("../doodad/DoodadManager").default | import("../item/ItemManager").default | import("../entity/npc/NPCManager").default | import("../tile/TileEventManager").default | Player[] | readonly Milestone[] | readonly SkillType[] | readonly ItemType[] | IterableIterator<Island> | readonly Stat[];
47
+ static getList(type: ReferenceType, gameIsland?: Island): import("../entity/creature/corpse/CorpseManager").default | import("../entity/creature/CreatureManager").default | import("../doodad/DoodadManager").default | import("../item/ItemManager").default | import("../entity/npc/NPCManager").default | import("../tile/TileEventManager").default | Player[] | readonly Milestone[] | readonly ItemType[] | readonly SkillType[] | IterableIterator<Island> | readonly Stat[];
48
48
  private referenceCursor;
49
49
  create(): number;
50
50
  get(thing: Referenceable): Reference | undefined;
@@ -62,7 +62,7 @@ export default class FieldOfView extends EventEmitter.Host<IFieldOfViewEvents> {
62
62
  /**
63
63
  * Gets the field of view radius based on either the field of view object, player, or the default value
64
64
  */
65
- private static getRadius;
65
+ static getRadius(fieldOfView: FieldOfView | undefined, player: Player | undefined): number;
66
66
  /**
67
67
  * Marks a set of tiles as exploreed
68
68
  */
@@ -12,5 +12,5 @@ import { CreatureType } from "game/entity/creature/ICreature";
12
12
  import type { IDropdownOption } from "ui/component/Dropdown";
13
13
  import EnumDropdown from "ui/component/dropdown/EnumDropdown";
14
14
  export default class CreatureDropdown<OTHER_OPTIONS extends string = never> extends EnumDropdown<typeof CreatureType, OTHER_OPTIONS> {
15
- constructor(defaultOption: OTHER_OPTIONS | CreatureType, options: Iterable<IDropdownOption<OTHER_OPTIONS>>);
15
+ constructor(defaultOption: OTHER_OPTIONS | CreatureType, options?: Iterable<IDropdownOption<OTHER_OPTIONS>>);
16
16
  }
@@ -8,6 +8,7 @@
8
8
  * Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
+ import { ActionType } from "game/entity/action/IAction";
11
12
  import { EquipType } from "game/entity/IHuman";
12
13
  import type { IContainer, IDismantleComponent } from "game/item/IItem";
13
14
  import { ItemType } from "game/item/IItem";
@@ -250,6 +251,7 @@ export default class InGameScreen extends BaseScreen {
250
251
  onHandToggle(api: IBindHandlerApi): boolean;
251
252
  onInput(api: IBindHandlerApi): void;
252
253
  private clearActionsMenuTileOverlay;
254
+ getAutoActionItem(actionType: ActionType, allowProtectedItems?: boolean): Item | undefined;
253
255
  private runAutoAction;
254
256
  private runAction;
255
257
  private updateContextMenu;
@@ -0,0 +1,15 @@
1
+ /*!
2
+ * Copyright 2011-2021 Unlok
3
+ * https://www.unlok.ca
4
+ *
5
+ * Credits & Thanks:
6
+ * https://www.unlok.ca/credits-thanks/
7
+ *
8
+ * Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
9
+ * https://github.com/WaywardGame/types/wiki
10
+ */
11
+ declare module SearchParams {
12
+ function hasSwitch(switchName: string): boolean;
13
+ function getSwitchValue(switchName: string): string | undefined;
14
+ }
15
+ export default SearchParams;
@@ -8,6 +8,6 @@
8
8
  * Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
- export declare const gameVersionStage = "beta", gameVersionMajor = 2, gameVersionMinor = 11, gameVersionPatch = 3, gameVersionName = "Horizons";
11
+ export declare const gameVersionStage = "beta", gameVersionMajor = 2, gameVersionMinor = 11, gameVersionPatch = 4, gameVersionName = "Horizons";
12
12
  export declare const gameVersion: string;
13
13
  export declare function registerGlobals(globalObject: any): void;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wayward/types",
3
3
  "description": "TypeScript declarations for Wayward, used for modding.",
4
- "version": "2.11.3-beta.dev.20220125.1",
4
+ "version": "2.11.4-beta.dev.20220129.1",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "target": "ES2019",
3
+ "target": "ES2021",
4
4
  "module": "AMD",
5
5
  "composite": true,
6
6
  "experimentalDecorators": true,
@@ -36,13 +36,10 @@
36
36
  },
37
37
  "types": [],
38
38
  "lib": [
39
- "WebWorker.ImportScripts",
40
39
  "DOM",
41
40
  "DOM.Iterable",
42
- "ScriptHost",
43
- "ES2019",
44
- "ES2020.String",
45
- "ES2021.WeakRef"
41
+ "ES2021",
42
+ "WebWorker.ImportScripts",
46
43
  ]
47
44
  }
48
45
  }