@dcl/sdk 7.0.0-3015711272.commit-6716e5a → 7.0.0-3040253589.commit-8782388

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.
@@ -548,13 +548,13 @@ export function Component(componentName: string, classId?: number): <TFunction e
548
548
 
549
549
  // @public (undocumented)
550
550
  export class ComponentAdded {
551
- constructor(entity: IEntity, componentName: string, classId: number | null);
551
+ constructor(entity: Entity, componentName: string, classId: number | null);
552
552
  // (undocumented)
553
553
  classId: number | null;
554
554
  // (undocumented)
555
555
  componentName: string;
556
556
  // (undocumented)
557
- entity: IEntity;
557
+ entity: Entity;
558
558
  }
559
559
 
560
560
  // @public (undocumented)
@@ -573,9 +573,9 @@ export class ComponentGroup {
573
573
  // (undocumented)
574
574
  active: boolean;
575
575
  // (undocumented)
576
- readonly entities: ReadonlyArray<IEntity>;
576
+ readonly entities: ReadonlyArray<Entity>;
577
577
  // (undocumented)
578
- hasEntity(entity: IEntity): boolean;
578
+ hasEntity(entity: Entity): boolean;
579
579
  // (undocumented)
580
580
  readonly requires: ReadonlyArray<ComponentConstructor<any>>;
581
581
  // (undocumented)
@@ -588,13 +588,13 @@ export interface ComponentLike {
588
588
 
589
589
  // @public (undocumented)
590
590
  export class ComponentRemoved {
591
- constructor(entity: IEntity, componentName: string, component: ComponentLike);
591
+ constructor(entity: Entity, componentName: string, component: ComponentLike);
592
592
  // (undocumented)
593
593
  component: ComponentLike;
594
594
  // (undocumented)
595
595
  componentName: string;
596
596
  // (undocumented)
597
- entity: IEntity;
597
+ entity: Entity;
598
598
  }
599
599
 
600
600
  // @public (undocumented)
@@ -718,39 +718,39 @@ export type EcsMathReadOnlyVector4 = {
718
718
 
719
719
  // @public (undocumented)
720
720
  export class Engine implements IEngine {
721
- constructor(rootEntity: IEntity);
721
+ constructor(rootEntity: Entity);
722
722
  // (undocumented)
723
- addEntity(entity: IEntity): IEntity;
723
+ addEntity(entity: Entity): Entity;
724
724
  // (undocumented)
725
725
  addSystem(system: ISystem, priority?: number): ISystem;
726
726
  // (undocumented)
727
- readonly avatarEntity: IEntity;
727
+ readonly avatarEntity: Entity;
728
728
  // (undocumented)
729
729
  get disposableComponents(): Readonly<Record<string, DisposableComponentLike>>;
730
730
  // (undocumented)
731
731
  disposeComponent(component: DisposableComponentLike): boolean;
732
732
  // (undocumented)
733
- get entities(): Readonly<Record<string, IEntity>>;
733
+ get entities(): Readonly<Record<string, Entity>>;
734
734
  // (undocumented)
735
735
  readonly eventManager: EventManager;
736
736
  // (undocumented)
737
- readonly firstPersonCameraEntity: IEntity;
737
+ readonly firstPersonCameraEntity: Entity;
738
738
  // (undocumented)
739
739
  getComponentGroup(...requires: ComponentConstructor<any>[]): ComponentGroup;
740
740
  // (undocumented)
741
741
  getEntitiesWithComponent(component: string): Record<string, any>;
742
742
  // (undocumented)
743
- getEntitiesWithComponent(component: ComponentConstructor<any>): Record<string, IEntity>;
743
+ getEntitiesWithComponent(component: ComponentConstructor<any>): Record<string, Entity>;
744
744
  // (undocumented)
745
745
  registerComponent(component: DisposableComponentLike): void;
746
746
  // (undocumented)
747
747
  removeComponentGroup(componentGroup: ComponentGroup): boolean;
748
748
  // (undocumented)
749
- removeEntity(entity: IEntity): boolean;
749
+ removeEntity(entity: Entity): boolean;
750
750
  // (undocumented)
751
751
  removeSystem(system: ISystem): boolean;
752
752
  // (undocumented)
753
- readonly rootEntity: IEntity;
753
+ readonly rootEntity: Entity;
754
754
  // (undocumented)
755
755
  update(dt: number): this;
756
756
  // (undocumented)
@@ -761,14 +761,14 @@ export class Engine implements IEngine {
761
761
  export const engine: Engine;
762
762
 
763
763
  // @public (undocumented)
764
- export class Entity implements IEntity {
764
+ export class Entity implements Entity {
765
765
  constructor(name?: string | undefined);
766
766
  addComponent<T extends object>(component: T): T;
767
767
  addComponentOrReplace<T extends object>(component: T): T;
768
768
  // (undocumented)
769
769
  alive: boolean;
770
770
  // (undocumented)
771
- children: Record<string, IEntity>;
771
+ children: Record<string, Entity>;
772
772
  // (undocumented)
773
773
  readonly components: Record<string, any>;
774
774
  // (undocumented)
@@ -782,7 +782,7 @@ export class Entity implements IEntity {
782
782
  getComponentOrNull<T = any>(component: string): T | null;
783
783
  // (undocumented)
784
784
  getComponentOrNull<T>(component: ComponentConstructor<T>): T | null;
785
- getParent(): IEntity | null;
785
+ getParent(): Entity | null;
786
786
  hasComponent<T = any>(component: string): boolean;
787
787
  // (undocumented)
788
788
  hasComponent<T>(component: ComponentConstructor<T>): boolean;
@@ -796,7 +796,7 @@ export class Entity implements IEntity {
796
796
  removeComponent<T extends object>(component: T, triggerRemovedEvent?: boolean): void;
797
797
  // (undocumented)
798
798
  removeComponent(component: ComponentConstructor<any>, triggerRemovedEvent?: boolean): void;
799
- setParent(_parent: IEntity | Attachable | null): IEntity;
799
+ setParent(_parent: Entity | Attachable | null): Entity;
800
800
  // (undocumented)
801
801
  readonly uuid: string;
802
802
  }
@@ -933,32 +933,32 @@ export interface HitEntityInfo {
933
933
  // @public (undocumented)
934
934
  export interface IEngine {
935
935
  // (undocumented)
936
- addEntity(entity: IEntity): void;
936
+ addEntity(entity: Entity): void;
937
937
  // (undocumented)
938
938
  addSystem(system: ISystem, priority: number): void;
939
939
  // (undocumented)
940
- readonly avatarEntity: IEntity;
940
+ readonly avatarEntity: Entity;
941
941
  // (undocumented)
942
- readonly entities: Readonly<Record<string, IEntity>>;
942
+ readonly entities: Readonly<Record<string, Entity>>;
943
943
  // (undocumented)
944
- readonly firstPersonCameraEntity: IEntity;
944
+ readonly firstPersonCameraEntity: Entity;
945
945
  // (undocumented)
946
- removeEntity(entity: IEntity): void;
946
+ removeEntity(entity: Entity): void;
947
947
  // (undocumented)
948
948
  removeSystem(system: ISystem): void;
949
949
  // (undocumented)
950
- rootEntity: IEntity;
950
+ rootEntity: Entity;
951
951
  }
952
952
 
953
953
  // @public (undocumented)
954
- export interface IEntity {
954
+ export interface Entity {
955
955
  addComponent<T extends object>(component: T): void;
956
956
  // (undocumented)
957
957
  addComponentOrReplace<T extends object>(component: T): void;
958
958
  // (undocumented)
959
959
  alive: boolean;
960
960
  // (undocumented)
961
- children: Record<string, IEntity>;
961
+ children: Record<string, Entity>;
962
962
  // (undocumented)
963
963
  readonly components: Record<string, any>;
964
964
  // (undocumented)
@@ -979,7 +979,7 @@ export interface IEntity {
979
979
  // (undocumented)
980
980
  getComponentOrNull<T>(component: ComponentConstructor<T> | string): T | null;
981
981
  // (undocumented)
982
- getParent(): IEntity | null;
982
+ getParent(): Entity | null;
983
983
  // (undocumented)
984
984
  hasComponent<T = any>(component: string): boolean;
985
985
  // (undocumented)
@@ -999,7 +999,7 @@ export interface IEntity {
999
999
  // (undocumented)
1000
1000
  removeComponent(component: object | string | Function, triggerRemovedEvent: any): void;
1001
1001
  // (undocumented)
1002
- setParent(e: IEntity | Attachable | null): void;
1002
+ setParent(e: Entity | Attachable | null): void;
1003
1003
  // (undocumented)
1004
1004
  readonly uuid: string;
1005
1005
  }
@@ -1067,9 +1067,9 @@ export interface ISystem {
1067
1067
  // (undocumented)
1068
1068
  deactivate?(): void;
1069
1069
  // (undocumented)
1070
- onAddEntity?(entity: IEntity): void;
1070
+ onAddEntity?(entity: Entity): void;
1071
1071
  // (undocumented)
1072
- onRemoveEntity?(entity: IEntity): void;
1072
+ onRemoveEntity?(entity: Entity): void;
1073
1073
  // (undocumented)
1074
1074
  update?(dt: number): void;
1075
1075
  }
@@ -1587,11 +1587,11 @@ export type ParcelsWithAccess = Array<{
1587
1587
 
1588
1588
  // @public (undocumented)
1589
1589
  export class ParentChanged {
1590
- constructor(entity: IEntity, parent: IEntity | null);
1590
+ constructor(entity: Entity, parent: Entity | null);
1591
1591
  // (undocumented)
1592
- entity: IEntity;
1592
+ entity: Entity;
1593
1593
  // (undocumented)
1594
- parent: IEntity | null;
1594
+ parent: Entity | null;
1595
1595
  }
1596
1596
 
1597
1597
  // @public
@@ -2397,9 +2397,9 @@ export class UUIDEventSystem implements ISystem {
2397
2397
  [uuid: string]: OnUUIDEvent<any>;
2398
2398
  };
2399
2399
  // (undocumented)
2400
- onAddEntity(entity: IEntity): void;
2400
+ onAddEntity(entity: Entity): void;
2401
2401
  // (undocumented)
2402
- onRemoveEntity(entity: IEntity): void;
2402
+ onRemoveEntity(entity: Entity): void;
2403
2403
  }
2404
2404
 
2405
2405
  // @public
@@ -253,6 +253,8 @@ declare namespace Components {
253
253
  /** @public */
254
254
  const PointerLock: ComponentDefinition<ISchema<PBPointerLock>, PBPointerLock>;
255
255
  /** @public */
256
+ const Raycast: ComponentDefinition<ISchema<PBRaycast>, PBRaycast>;
257
+ /** @public */
256
258
  const RaycastResult: ComponentDefinition<ISchema<PBRaycastResult>, PBRaycastResult>;
257
259
  /** @public */
258
260
  const SphereShape: ComponentDefinition<ISchema<PBSphereShape>, PBSphereShape>;
@@ -261,6 +263,8 @@ declare namespace Components {
261
263
  /** @public */
262
264
  const UiText: ComponentDefinition<ISchema<PBUiText>, PBUiText>;
263
265
  /** @public */
266
+ const UiTransform: ComponentDefinition<ISchema<PBUiTransform>, PBUiTransform>;
267
+ /** @public */
264
268
  const VisibilityComponent: ComponentDefinition<ISchema<PBVisibilityComponent>, PBVisibilityComponent>;
265
269
  }
266
270
 
@@ -489,10 +493,12 @@ declare function defineSdkComponents(engine: PreEngine): {
489
493
  PointerEvents: ComponentDefinition<ISchema<PBPointerEvents>, PBPointerEvents>;
490
494
  PointerEventsResult: ComponentDefinition<ISchema<PBPointerEventsResult>, PBPointerEventsResult>;
491
495
  PointerLock: ComponentDefinition<ISchema<PBPointerLock>, PBPointerLock>;
496
+ Raycast: ComponentDefinition<ISchema<PBRaycast>, PBRaycast>;
492
497
  RaycastResult: ComponentDefinition<ISchema<PBRaycastResult>, PBRaycastResult>;
493
498
  SphereShape: ComponentDefinition<ISchema<PBSphereShape>, PBSphereShape>;
494
499
  TextShape: ComponentDefinition<ISchema<PBTextShape>, PBTextShape>;
495
500
  UiText: ComponentDefinition<ISchema<PBUiText>, PBUiText>;
501
+ UiTransform: ComponentDefinition<ISchema<PBUiTransform>, PBUiTransform>;
496
502
  VisibilityComponent: ComponentDefinition<ISchema<PBVisibilityComponent>, PBVisibilityComponent>;
497
503
  };
498
504
 
@@ -552,6 +558,12 @@ declare type float = number;
552
558
  /** @public */
553
559
  declare type FloatArray = number[];
554
560
 
561
+ declare const enum Font {
562
+ LiberationSans = 0,
563
+ SansSerif = 1,
564
+ UNRECOGNIZED = -1
565
+ }
566
+
555
567
  /** @public */
556
568
  declare const GLTFShape: ComponentDefinition<ISchema<PBGLTFShape>, PBGLTFShape>;
557
569
 
@@ -596,13 +608,13 @@ declare type IEngine = {
596
608
  * engine.addSystem(mySystem, 10)
597
609
  * ```
598
610
  */
599
- addSystem(system: Update, priority?: number, name?: string): void;
611
+ addSystem(system: SystemFn, priority?: number, name?: string): void;
600
612
  /**
601
613
  * Remove a system from the engine.
602
614
  * @param selector the function or the unique name to identify
603
615
  * @returns if it was found and removed
604
616
  */
605
- removeSystem(selector: string | Update): boolean;
617
+ removeSystem(selector: string | SystemFn): boolean;
606
618
  /**
607
619
  * Define a component and add it to the engine.
608
620
  * @param spec An object with schema fields
@@ -2135,6 +2147,14 @@ declare interface PBPointerLock {
2135
2147
  isPointerLocked: boolean;
2136
2148
  }
2137
2149
 
2150
+ declare interface PBRaycast {
2151
+ timestamp: number;
2152
+ origin: Vector3_2 | undefined;
2153
+ direction: Vector3_2 | undefined;
2154
+ maxDistance: number;
2155
+ queryType: RaycastQueryType;
2156
+ }
2157
+
2138
2158
  declare interface PBRaycastResult {
2139
2159
  timestamp: number;
2140
2160
  origin: Vector3_2 | undefined;
@@ -2189,8 +2209,76 @@ declare interface PBTextShape {
2189
2209
  }
2190
2210
 
2191
2211
  declare interface PBUiText {
2192
- text: string;
2193
- textColor: Color3 | undefined;
2212
+ value: string;
2213
+ /** default=(1.0,1.0,1.0) */
2214
+ color?: Color3 | undefined;
2215
+ /** default='center' */
2216
+ textAlign?: TextAlign | undefined;
2217
+ /** default=0 */
2218
+ font?: Font | undefined;
2219
+ /** default=10 */
2220
+ fontSize?: number | undefined;
2221
+ }
2222
+
2223
+ declare interface PBUiTransform {
2224
+ parent: number;
2225
+ rightOf: number;
2226
+ positionType: YGPositionType;
2227
+ alignContent: YGAlign;
2228
+ alignItems: YGAlign;
2229
+ alignSelf: YGAlign;
2230
+ flexDirection: YGFlexDirection;
2231
+ flexWrap: YGWrap;
2232
+ justifyContent: YGJustify;
2233
+ overflow: YGOverflow;
2234
+ display: YGDisplay;
2235
+ direction: YGDirection;
2236
+ flex: number;
2237
+ flexBasisUnit: YGUnit;
2238
+ flexBasis: number;
2239
+ flexGrow: number;
2240
+ flexShrink: number;
2241
+ widthUnit: YGUnit;
2242
+ width: number;
2243
+ heightUnit: YGUnit;
2244
+ height: number;
2245
+ minWidthUnit: YGUnit;
2246
+ minWidth: number;
2247
+ minHeightUnit: YGUnit;
2248
+ minHeight: number;
2249
+ maxWidthUnit: YGUnit;
2250
+ maxWidth: number;
2251
+ maxHeightUnit: YGUnit;
2252
+ maxHeight: number;
2253
+ positionLeftUnit: YGUnit;
2254
+ positionLeft: number;
2255
+ positionTopUnit: YGUnit;
2256
+ positionTop: number;
2257
+ positionRightUnit: YGUnit;
2258
+ positionRight: number;
2259
+ positionBottomUnit: YGUnit;
2260
+ positionBottom: number;
2261
+ /** margin */
2262
+ marginLeftUnit: YGUnit;
2263
+ marginLeft: number;
2264
+ marginTopUnit: YGUnit;
2265
+ marginTop: number;
2266
+ marginRightUnit: YGUnit;
2267
+ marginRight: number;
2268
+ marginBottomUnit: YGUnit;
2269
+ marginBottom: number;
2270
+ paddingLeftUnit: YGUnit;
2271
+ paddingLeft: number;
2272
+ paddingTopUnit: YGUnit;
2273
+ paddingTop: number;
2274
+ paddingRightUnit: YGUnit;
2275
+ paddingRight: number;
2276
+ paddingBottomUnit: YGUnit;
2277
+ paddingBottom: number;
2278
+ borderLeft: number;
2279
+ borderTop: number;
2280
+ borderRight: number;
2281
+ borderBottom: number;
2194
2282
  }
2195
2283
 
2196
2284
  declare interface PBVisibilityComponent {
@@ -2338,13 +2426,13 @@ declare function preEngine(): {
2338
2426
  addEntity: (dynamic?: boolean) => Entity;
2339
2427
  addDynamicEntity: () => Entity;
2340
2428
  removeEntity: (entity: Entity) => boolean;
2341
- addSystem: (fn: Update, priority?: number, name?: string | undefined) => void;
2429
+ addSystem: (fn: SystemFn, priority?: number, name?: string | undefined) => void;
2342
2430
  getSystems: () => {
2343
- fn: Update;
2431
+ fn: SystemFn;
2344
2432
  priority: number;
2345
2433
  name?: string | undefined;
2346
2434
  }[];
2347
- removeSystem: (selector: string | Update) => boolean;
2435
+ removeSystem: (selector: string | SystemFn) => boolean;
2348
2436
  defineComponent: <T extends Spec, ConstructorType = Partial<Result<T>>>(spec: T, componentId: number, constructorDefault?: ConstructorType | undefined) => ComponentDefinition<ISchema<Result<T>>, ConstructorType>;
2349
2437
  defineComponentFromSchema: <T_1 extends ISchema<any>, ConstructorType_1 = EcsResult<T_1>>(spec: T_1, componentId: number, constructorDefault?: ConstructorType_1 | undefined) => ComponentDefinition<T_1, ConstructorType_1>;
2350
2438
  getEntitiesWith: <T_2 extends [ComponentDefinition<ISchema<any>, any>, ...ComponentDefinition<ISchema<any>, any>[]]>(...components: T_2) => Iterable<[Entity, ...ReadonlyComponentSchema<T_2>]>;
@@ -2522,6 +2610,9 @@ declare namespace Quaternion {
2522
2610
  */
2523
2611
  declare const RAD2DEG: number;
2524
2612
 
2613
+ /** @public */
2614
+ declare const Raycast: ComponentDefinition<ISchema<PBRaycast>, PBRaycast>;
2615
+
2525
2616
  /** Position will be relative to the scene */
2526
2617
  declare interface RaycastHit {
2527
2618
  position: Vector3_2 | undefined;
@@ -2533,6 +2624,12 @@ declare interface RaycastHit {
2533
2624
  entityId?: number | undefined;
2534
2625
  }
2535
2626
 
2627
+ declare const enum RaycastQueryType {
2628
+ HIT_FIRST = 0,
2629
+ QUERY_ALL = 1,
2630
+ UNRECOGNIZED = -1
2631
+ }
2632
+
2536
2633
  /** @public */
2537
2634
  declare const RaycastResult: ComponentDefinition<ISchema<PBRaycastResult>, PBRaycastResult>;
2538
2635
 
@@ -2613,6 +2710,18 @@ declare interface Spec {
2613
2710
  /** @public */
2614
2711
  declare const SphereShape: ComponentDefinition<ISchema<PBSphereShape>, PBSphereShape>;
2615
2712
 
2713
+ /**
2714
+ * @public
2715
+ */
2716
+ declare type SystemFn = (dt: number) => void;
2717
+
2718
+ declare const enum TextAlign {
2719
+ Center = 0,
2720
+ Left = 1,
2721
+ Right = 2,
2722
+ UNRECOGNIZED = -1
2723
+ }
2724
+
2616
2725
  /** @public */
2617
2726
  declare const TextShape: ComponentDefinition<ISchema<PBTextShape>, PBTextShape>;
2618
2727
 
@@ -2687,15 +2796,13 @@ declare type Uint32 = number;
2687
2796
  /** @public */
2688
2797
  declare const UiText: ComponentDefinition<ISchema<PBUiText>, PBUiText>;
2689
2798
 
2690
- /**
2691
- * @public
2692
- */
2693
- declare type Unpacked<T> = T extends (infer U)[] ? U : T;
2799
+ /** @public */
2800
+ declare const UiTransform: ComponentDefinition<ISchema<PBUiTransform>, PBUiTransform>;
2694
2801
 
2695
2802
  /**
2696
2803
  * @public
2697
2804
  */
2698
- declare type Update = (dt: number) => void;
2805
+ declare type Unpacked<T> = T extends (infer U)[] ? U : T;
2699
2806
 
2700
2807
  /**
2701
2808
  * @public
@@ -2943,4 +3050,76 @@ declare namespace WireMessage {
2943
3050
  function readHeader(buf: ByteBuffer): Header | null;
2944
3051
  }
2945
3052
 
3053
+ declare const enum YGAlign {
3054
+ YGAlignAuto = 0,
3055
+ YGAlignFlexStart = 1,
3056
+ YGAlignCenter = 2,
3057
+ YGAlignFlexEnd = 3,
3058
+ YGAlignStretch = 4,
3059
+ YGAlignBaseline = 5,
3060
+ YGAlignSpaceBetween = 6,
3061
+ YGAlignSpaceAround = 7,
3062
+ UNRECOGNIZED = -1
3063
+ }
3064
+
3065
+ declare const enum YGDirection {
3066
+ YGDirectionInherit = 0,
3067
+ YGDirectionLTR = 1,
3068
+ YGDirectionRTL = 2,
3069
+ UNRECOGNIZED = -1
3070
+ }
3071
+
3072
+ declare const enum YGDisplay {
3073
+ YGDisplayFlex = 0,
3074
+ YGDisplayNone = 1,
3075
+ UNRECOGNIZED = -1
3076
+ }
3077
+
3078
+ declare const enum YGFlexDirection {
3079
+ YGFlexDirectionColumn = 0,
3080
+ YGFlexDirectionColumnReverse = 1,
3081
+ YGFlexDirectionRow = 2,
3082
+ YGFlexDirectionRowReverse = 3,
3083
+ UNRECOGNIZED = -1
3084
+ }
3085
+
3086
+ declare const enum YGJustify {
3087
+ YGJustifyFlexStart = 0,
3088
+ YGJustifyCenter = 1,
3089
+ YGJustifyFlexEnd = 2,
3090
+ YGJustifySpaceBetween = 3,
3091
+ YGJustifySpaceAround = 4,
3092
+ YGJustifySpaceEvenly = 5,
3093
+ UNRECOGNIZED = -1
3094
+ }
3095
+
3096
+ declare const enum YGOverflow {
3097
+ YGOverflowVisible = 0,
3098
+ YGOverflowHidden = 1,
3099
+ YGOverflowScroll = 2,
3100
+ UNRECOGNIZED = -1
3101
+ }
3102
+
3103
+ declare const enum YGPositionType {
3104
+ YGPositionTypeStatic = 0,
3105
+ YGPositionTypeRelative = 1,
3106
+ YGPositionTypeAbsolute = 2,
3107
+ UNRECOGNIZED = -1
3108
+ }
3109
+
3110
+ declare const enum YGUnit {
3111
+ YGUnitUndefined = 0,
3112
+ YGUnitPoint = 1,
3113
+ YGUnitPercent = 2,
3114
+ YGUnitAuto = 3,
3115
+ UNRECOGNIZED = -1
3116
+ }
3117
+
3118
+ declare const enum YGWrap {
3119
+ YGWrapNoWrap = 0,
3120
+ YGWrapWrap = 1,
3121
+ YGWrapWrapReverse = 2,
3122
+ UNRECOGNIZED = -1
3123
+ }
3124
+
2946
3125
 
@@ -16,6 +16,8 @@
16
16
  "useDefineForClassFields": false,
17
17
  "preserveConstEnums": true,
18
18
  "allowJs": true,
19
+ "jsx": "react",
20
+ "jsxFactory": "ReactEcs.createElement",
19
21
  "lib": [
20
22
  "ES2020"
21
23
  ],