Server won't start after update to ns 1.6

After upgrade to ns 1.6 docker image dont start:, log:
I have tried download again new tf2 data from EA APP, reinstall docker and even put the VM (centos7.9) from scratch. Before that, everything worked fine, no configuration changes. What did I miss?
Starting Northstar...
Starting xvfb on display :9...
002c:err:wineboot:process_run_key Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (2).
[*] Loading stubs
[*]   Loading GFSDK_SSAO.win64.dll
[*]   Loading GFSDK_TXAA.win64.dll
[*]   Loading d3d11.dll
[*] Loading tier0.dll
[*] Loading Northstar
[2022-04-01 12:26:22.035] [info] Profile was not found in command line arguments. Using default: R2Northstar
0024:err:kerberos:kerberos_LsaApInitializePackage no Kerberos support, expect problems
0024:err:winediag:ntlm_check_version ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
0024:err:ntlm:ntlm_LsaApInitializePackage no NTLM support, expect problems
[12:26:22] [info] Enabling hook GetCommandLineAHook
[12:26:22] [info] Enabling hook LoadLibraryExAHook
[12:26:22] [info] Enabling hook LoadLibraryAHook
[12:26:22] [info] Enabling hook LoadLibraryExWHook
[12:26:22] [info] Enabling hook LoadLibraryWHook
[12:26:22] [info] Command line: "Z:\tmp\ns307446913\NorthstarLauncher.exe" -dedicated -multiple -port 37500 -maxplayersplaylist +setplaylistvaroverrides "run_epilogue 0 max_players 20 classic_mp 0 scorelimit 100" ns_private_match_only_host_can_change_settings 2 +setplaylist private_match
0024:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr<PHONE_NUMBER>7CF150 1 C) semi-stub
[12:26:22] [info] Loading resource from library
0024:err:module:import_dll Library ktmw32.dll (which is needed by L"Z:\\tmp\\ns307446913\\discord_game_sdk.dll") not found
0024:err:module:import_dll Library discord_game_sdk.dll (which is needed by L"Z:\\tmp\\ns307446913\\R2Northstar\\plugins\\DiscordRPC.dll") not found
[12:26:22] [info] Failed to load library Module not found.:

That almost looks like something closed the game. Does the v1.5.2 image work?

I will check version 1.5.1, it also doesn't work. I uninstalled TF2 on PC and through BETA because Origin is no longer possible. I copied the "clean" files (I didn't even turn on tf on pc). I put another VM so that there would be no unnecessary garbage, the effect is the same with an identical message. Unfortunately, I lost the copy of files downloaded from Origin, I suspect that the problem is with BETA files.

That's why I bet files from BETA because NS on WIN11 won't boot without Discord installed and you need to remove DiscordRPC.dll from R2Northstar / plugins to get around this.
[*] Loading tier0.dll
[*] Loading Northstar
[2022-04-02 21:54:32.183] [info] Profile was not found in command line arguments. Using default: R2Northstar
[*] Loading launcher.dll
[*] Launching the game...
Failed to instantiate discord core! (err 4)

[process exited with code<PHONE_NUMBER>]

I have no idea what you mean by BETA, but try downloading the files with https://gist.github.com/pg9182/9a962adbfc27e93237cd14e4523c9da8 instead.

After a lot of trying and looking for bugs, the simple solution was to switch to Ubuntu instead of CentOS.

OK, that's good to know. I will do some testing on CentOS later and see if I can identify the cause of your problem.


Review changes on accessibility.spec.js

This PR might help https://github.com/kblok/playwright/pull/2/files. This issue is not only about the test itself, but also see what was changed under the hood

we could view the changes in vscode
Invoke-WebRequest 'https://raw.githubusercontent.com/kblok/playwright/release-1.1/test/accessibility.spec.js' -OutFile 'accessibility.spec.js-release-1.1'
code -d 'test/accessibility.spec.js' 'accessibility.spec.js-release-1.1'


MissingPluginException when run in ios

Hello, thank you for maintaining this package. I encountered this error while using it on iOS, but everything is fine on macOS.
I'm using this package together with flutter_local_notifications and timezone.
All I did was install the package and use the code from the example. Do I need to set up anything extra?

platform: ios (iphone 14 simulator)
error: MissingPluginException (MissingPluginException(No implementation found for method getLocalTimezone on channel flutter_timezone))
my code:
String? osTimezoneName;

Future<void> configureLocalTimeZone() async {
  if (Platform.isWindows) {
    throw UnimplementedError('Windows not supported');
  }
  tz.initializeTimeZones();
  osTimezoneName = await FlutterTimezone.getLocalTimezone();
  tz.setLocalLocation(tz.getLocation(osTimezoneName!));
}

AppDelegate.swift
import UIKit
import Flutter
import flutter_local_notifications

@UIApplicationMain
@objc class AppDelegate: FlutterAppDelegate {
  override func application(
    _ application: UIApplication,
    didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
  ) -> Bool {
    if #available(iOS 10.0, *) {
      UNUserNotificationCenter.current().delegate = self as? UNUserNotificationCenterDelegate
    }

    FlutterLocalNotificationsPlugin.setPluginRegistrantCallback { (registry) in
      GeneratedPluginRegistrant.register(with: registry)
    }

    return super.application(application, didFinishLaunchingWithOptions: launchOptions)
  }
}

I found out that I simply forgot to add GeneratedPluginRegistrant.register(with: self) to AppDelegate.swift, my mistake.


Diseases vs Diagnoses? (Step 6)

I could be missing something, but I think it would be more appropriate to refer to the Diseases section as Disease diagnoses. @pnrobinson do you have thoughts on this?

Agree!

Tested and looks good


Letter to officials for defunding police in Pawtucket, RI

Below are the email addresses for Governor Raimondo, Mayor Grebein, and the Pawtucket City Council members (who must approve the city budget):
Gina Raimondo - Governor<EMAIL_ADDRESS>Donald R. Grebein - Mayor<EMAIL_ADDRESS>Dylan M. Zelazo - Director of Administration<EMAIL_ADDRESS>Michael A. Araujo - Council at large<EMAIL_ADDRESS>Albert J. Vitali, Jr. - Council at large<EMAIL_ADDRESS>Elena Vasquez - Council at large<EMAIL_ADDRESS>David P. Moran - 1st District Councilor<EMAIL_ADDRESS>Mark J. Wildenhain - 2nd District Councilor<EMAIL_ADDRESS>Terrence E. Mercer - 3rd District Councilor<EMAIL_ADDRESS>John J. Barry, III - 4th District Councilor: No email listed but can be reached at<PHONE_NUMBER>
Meghan E. Kallman - 5th District Councilor<EMAIL_ADDRESS>Timothy P. Rudd, Jr. - 6th District Counselor<EMAIL_ADDRESS>COPY/PASTE EMAILS:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>SUBJECT: Defund Pawtucket Police
MESSAGE: (please replace [x's] with your own information)
Dear Governor Raimondo, Mayor Grebein, and the Pawtucket City Council members,
My name is [NAME] and I am a resident of Pawtucket. I am writing to demand that Governor Raimondo, Mayor Donald R. Grebien and the members of the City Council do everything in their power to adopt a budget that redirects all funds from the Pawtucket Police Department and towards community wellbeing, mental health and the needs of its residents.
It has become clear that police forces are ineffective at keeping local communities safe, and that they perpetuate the oppression of residents who are people of color, undocumented, mentally ill, disabled, and LGBTQ. In 2020, $26,299,326 was budgeted to the Police both uniform and civilian and with an increased approved budget of $29,086,990 for 2021.
We ask you consider how much those dollars could accomplish when used to fund low-income and public housing, education, resources for formerly incarcerated individuals, and public transportation. Comparatively only $593,607 on senior care and only ~$2million invested in libraries in 2020. We demand that excessive police force spending be allocated to programs that will ultimately protect and benefit the people of Pawtucket more than an overfunded police force.
Imagine what over $29 million could do for this community if it was invested in education, community mental health services, resources for formerly incarcerated, housing, and other services that have been proven to reduce crime and contribute to the safety and well-being of communities.
Pawtucket may be a small city in a small state, but we have shown that we can make a huge impact on America at large. We desperately need to change our financial priorities and let our tax dollars go to communities, not cops.
Thank you for your time.
[Name] [Address]
[Number]

Reviewed, minor copy-edits below. Please reach out if any concerns. Ready for PR.
Gina Raimondo - Governor<EMAIL_ADDRESS>Donald R. Grebein - Mayor<EMAIL_ADDRESS>Dylan M. Zelazo - Director of Administration<EMAIL_ADDRESS>Michael A. Araujo - Council at large<EMAIL_ADDRESS>Albert J. Vitali, Jr. - Council at large<EMAIL_ADDRESS>Elena Vasquez - Council at large<EMAIL_ADDRESS>David P. Moran - 1st District Councilor<EMAIL_ADDRESS>Mark J. Wildenhain - 2nd District Councilor<EMAIL_ADDRESS>Terrence E. Mercer - 3rd District Councilor<EMAIL_ADDRESS>John J. Barry, III - 4th District Councilor: No email listed but can be reached at<PHONE_NUMBER>
Meghan E. Kallman - 5th District Councilor<EMAIL_ADDRESS>Timothy P. Rudd, Jr. - 6th District Counselor<EMAIL_ADDRESS>SUBJECT: Defund Pawtucket Police
BODY:
Dear Governor Raimondo, Mayor Grebein, and the Pawtucket City Council members,
My name is [NAME] and I am a resident of Pawtucket. I am writing to demand that Governor Raimondo, Mayor Donald R. Grebien and the members of the City Council do everything in their power to adopt a budget that redirects funds from the Pawtucket Police Department and towards community wellbeing, mental health and the needs of its residents.
It has become clear that police forces are ineffective at keeping local communities safe, and that they perpetuate the oppression of residents who are people of color, undocumented, mentally ill, disabled, and LGBTQ. In 2020, $26,299,326 was budgeted to the Police, which was then increased to $29,086,990 for the 2021 budget despite widespread economic instability, unemployment, illness, and unrest.
We ask you consider how much those dollars could accomplish when used to fund low-income and public housing, education, resources for formerly incarcerated individuals, and public transportation. Comparatively, only $593,607 on senior care and only ~$2million on libraries was invested in 2020. We demand that excessive police force spending be allocated to programs that will ultimately protect and benefit the people of Pawtucket more than policing.
Imagine what over $29 million could do for this community if it was invested in education, community mental health services, resources for formerly incarcerated, housing, and other services that have been proven to reduce crime and contribute to the safety and well-being of communities.
Pawtucket may be a small city in a small state, but we have shown that we can make a huge impact on America at large. We desperately need to change our financial priorities and let our tax dollars go to communities, not cops.
Thank you for your time,
[YOUR NAME]
[YOUR ADDRESS]
[PHONE NUMBER]
[EMAIL ADDRESS]

On it!

Fixed<EMAIL_ADDRESS>email for Meghan E. Kallman - 5th District Councilor. Could not find an email for John J. Barry, III - 4th District Councilor either.


PIX layers import issue

I am trying to figure whats right way to import PIXI layers with PIXI.
1> **while importing the below way
   import * as PIXI from 'pixi.js';
   window.PIXI = PIXI;
   import 'pixi-layers';**

****ERROR in ./src/common/common/shared/graphics-framework/graphics/graphics.service.ts 338:24-36
"export 'display' (imported as 'PIXI') was not found in 'pixi.js'
ERROR in node_modules/pixi-layers/dist/pixi-layers.d.ts:57:36 - error TS2694: Namespace 'PIXI' has no exported member 'interaction'.

57     import InteractionEvent = PIXI.interaction.InteractionEvent;
                                      ~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:106:36 - error TS2694: Namespace 'PIXI' has no exported member 'interaction'.

106     import InteractionEvent = PIXI.interaction.InteractionEvent;****

2> **while importing like below
      import 'pixi.js';
      import 'pixi-layers';**

getting on below error
  ERROR in node_modules/pixi-layers/dist/pixi-layers.d.ts:57:36 - error TS2694: Namespace 'PIXI' has no exported member 'interaction'.

57     import InteractionEvent = PIXI.interaction.InteractionEvent;
                                      ~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:106:36 - error TS2694: Namespace 'PIXI' has no exported member 'interaction'.

106     import InteractionEvent = PIXI.interaction.InteractionEvent;****

3>   while importing like below
   import * as PIXI from 'pixi.js';

   require('pixi-layers');

Below is the error

 Property 'display' does not exist on type 'typeof PIXI'.
 app.stage = new PIXI.display.Stage();

Sorry, yes, I have to update to 5.3 :) someone removed interaction package and i didnt notice it. Try to remove it and rebuild for now? I will look tomorrow or maybe in weekend

Thank you for prompt response.
couldn't figure out what you mean by below line
Try to remove it and rebuild for now?
will be highly appreciated if this fix can be provided as soon as possible.

Done.

Thank u so much for prompt fix. I see version upgrade to 0.3.0
But Now i see below error while compiling.
ERROR in node_modules/pixi-layers/dist/pixi-layers.d.ts:7:1 - error TS1046: Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier.
7 namespace PIXI.display {
node_modules/pixi-layers/dist/pixi-layers.d.ts:8:5 - error TS1036: Statements are not allowed in ambient contexts.

8     (Object as any).assign(PIXI.Container.prototype, {
    ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:9:58 - error TS1183: An implementation cannot be declared in ambient contexts.

9         render: function (renderer: PIXI.Renderer): void {
                                                         ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:11:17 - error TS1036: Statements are not allowed in ambient contexts.

11                 return;
                 ~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:15:17 - error TS1036: Statements are not allowed in ambient contexts.

15                 this.displayOrder = 0;
                 ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:23:17 - error TS1036: Statements are not allowed in ambient contexts.

23                 return;
                 ~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:30:70 - error TS1183: An implementation cannot be declared in ambient contexts.

30         renderCanvas: function (renderer: PIXI.CanvasRenderer): void {
                                                                      ~
node_modules/pixi-layers/dist/pixi-layers.d.ts0m:32:17 - error TS1036: Statements are not allowed in ambient contexts.

32                 return;
                 ~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:36:17 - error TS1036: Statements are not allowed in ambient contexts.

36                 this.displayOrder = 0;
                 ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:44:17 - error TS1036: Statements are not allowed in ambient contexts.

44                 return;
                 ~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:102:1 - error TS1036: Statements are not allowed in ambient contexts.

102 (Object as any).assign(PIXI.DisplayObject.prototype, {
  ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:115:5 - error TS1036: Statements are not allowed in ambient contexts.

115     PIXI.ParticleContainer.prototype.layerableChildren = false;
      ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:118:5 - error TS1036: Statements are not allowed in ambient contexts.

118     (PIXI as any).ParticleContainer.prototype.layerableChildren = false;
      ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:135:33 - error TS1039: Initializers are not allowed in ambient contexts.

135         static _layerUpdateId = 0;
                                  ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:137:31 - error TS1039: Initializers are not allowed in ambient contexts.

137         _activeLayer: Layer = null;
                                ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:139:31 - error TS1039: Initializers are not allowed in ambient contexts.

139         _activeStage: Stage = null;
                                ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:141:49 - error TS1039: Initializers are not allowed in ambient contexts.

141         _activeChildren: Array<DisplayObject> = [];
                                                  ~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:143:25 - error TS1039: Initializers are not allowed in ambient contexts.

143         _lastUpdateId = -1;
                          ~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:145:37 - error TS1039: Initializers are not allowed in ambient contexts.

145         useRenderTexture: boolean = false;
                                      ~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:146:36 - error TS1039: Initializers are not allowed in ambient contexts.

146         useDoubleBuffer: boolean = false;
                                     ~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:147:32 - error TS1039: Initializers are not allowed in ambient contexts.

147         sortPriority: number = 0;
                                 ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:148:42 - error TS1039: Initializers are not allowed in ambient contexts.

148         clearColor : ArrayLike<number> = new Float32Array([0, 0, 0, 0]);
                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:152:31 - error TS1039: Initializers are not allowed in ambient contexts.

152         canDrawWithoutLayer = false;
                                ~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:153:32 - error TS1039: Initializers are not allowed in ambient contexts.

153         canDrawInParentStage = true;
                                 ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:159:18 - error TS1039: Initializers are not allowed in ambient contexts.

159         zIndex = 0;
                   ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:161:22 - error TS1039: Initializers are not allowed in ambient contexts.

161         enableSort = false;
                       ~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:163:66 - error TS1183: An implementation cannot be declared in ambient contexts.

163         constructor(zIndex: number, sorting: boolean | Function) {
                                                                   ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:171:17 - error TS1036: Statements are not allowed in ambient contexts.

171                 this.on('sort', sorting);
                  ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:175:45 - error TS1039: Initializers are not allowed in ambient contexts.

175         _tempResult: Array<DisplayObject> = [];
                                              ~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:176:43 - error TS1039: Initializers are not allowed in ambient contexts.

176         _tempZero: Array<DisplayObject> = [];
                                            ~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:178:40 - error TS1039: Initializers are not allowed in ambient contexts.

178         useZeroOptimization: boolean = false;
                                         ~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:180:60 - error TS1183: An implementation cannot be declared in ambient contexts.

180         doSort(layer: Layer, sorted: Array<DisplayObject>) {
                                                             ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:182:17 - error TS1036: Statements are not allowed in ambient contexts.

182                 for (let i = 0; i < sorted.length; i++) {
                  ~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:182:30 - error TS1039: Initializers are not allowed in ambient contexts.

182                 for (let i = 0; i < sorted.length; i++) {
                               ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:183:21 - error TS1036: Statements are not allowed in ambient contexts.

183                     this.emit('sort', sorted[i]);
                      ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:187:17 - error TS1036: Statements are not allowed in ambient contexts.

187                 this.doSortWithZeroOptimization(layer, sorted);
                  ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:189:17 - error TS1036: Statements are not allowed in ambient contexts.

189                 sorted.sort(Group.compareZIndex);
                  ~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:193:66 - error TS1183: An implementation cannot be declared in ambient contexts.

193         static compareZIndex(a: DisplayObject, b: DisplayObject) {
                                                                   ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:195:17 - error TS1036: Statements are not allowed in ambient contexts.

195                 return -1;
                  ~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:198:17 - error TS1036: Statements are not allowed in ambient contexts.

198                 return 1;
                  ~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:203:80 - error TS1183: An implementation cannot be declared in ambient contexts.

203         doSortWithZeroOptimization(layer: Layer, sorted: Array<DisplayObject>) {
                                                                                ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:233:17 - error TS1183: An implementation cannot be declared in ambient contexts.

233         clear() {
                  ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:242:70 - error TS1183: An implementation cannot be declared in ambient contexts.

242         addDisplayObject(stage: Stage, displayObject: DisplayObject) {
                                                                       ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:246:17 - error TS1036: Statements are not allowed in ambient contexts.

246                 this._activeLayer._activeChildren.push(displayObject);
                  ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:248:17 - error TS1036: Statements are not allowed in ambient contexts.

248                 this._activeChildren.push(displayObject);
                  ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:257:48 - error TS1183: An implementation cannot be declared in ambient contexts.

257         foundLayer(stage: Stage, layer: Layer) {
                                                 ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:260:17 - error TS1036: Statements are not allowed in ambient contexts.

260                 Group.conflict();
                  ~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:270:34 - error TS1183: An implementation cannot be declared in ambient contexts.

270         foundStage(stage: Stage) {
                                   ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:272:17 - error TS1036: Statements are not allowed in ambient contexts.

272                 this.clear();
                  ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:276:29 - error TS1183: An implementation cannot be declared in ambient contexts.

276         check(stage: Stage) {
                              ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:278:17 - error TS1036: Statements are not allowed in ambient contexts.

278                 this._lastUpdateId = Group._layerUpdateId;
                  ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:282:31 - error TS1039: Initializers are not allowed in ambient contexts.

282                 let current = this._activeStage;
                                ~~~~~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:283:17 - error TS1036: Statements are not allowed in ambient contexts.

283                 while (current && current != stage) {
                  ~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:284:21 - error TS1036: Statements are not allowed in ambient contexts.

284                     current = current._activeParentStage;
                      ~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:288:21 - error TS1036: Statements are not allowed in ambient contexts.

288                     this.clear();
                      ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:294:37 - error TS1039: Initializers are not allowed in ambient contexts.

294         static _lastLayerConflict = 0;
                                      ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:296:27 - error TS1183: An implementation cannot be declared in ambient contexts.

296         static conflict() {
                            ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:298:17 - error TS1036: Statements are not allowed in ambient contexts.

298                 Group._lastLayerConflict = Date.now();
                  ~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:315:168 - error TS1183: An implementation cannot be declared in ambient contexts.

315     export function processInteractive51(strangeStuff: InteractionEvent | Point, displayObject: DisplayObject, func: Function, hitTest: boolean, interactive: boolean) {
                                                                                ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:317:13 - error TS1036: Statements are not allowed in ambient contexts.

317             this.search = new LayersTreeSearch();
              ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:321:31 - error TS1254: A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.

321         const delayedEvents = this.delayedEvents;
                                ~~~~~~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:325:13 - error TS1036: Statements are not allowed in ambient contexts.

325             (strangeStuff as any).stopPropagationHint = false;
              ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:327:32 - error TS1254: A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.

327             const delayedLen = delayedEvents.length;
                                 ~~~~~~~~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:331:26 - error TS1039: Initializers are not allowed in ambient contexts.

331             for (let i = 0; i < delayedLen; i++) {
                           ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:332:65 - error TS1254: A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.

332                 const {displayObject, eventString, eventData} = delayedEvents[i];
                                                                  ~~~~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:336:17 - error TS1036: Statements are not allowed in ambient contexts.

336                 if (eventData.stopsPropagatingAt === displayObject) {
                  ~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:337:21 - error TS1036: Statements are not allowed in ambient contexts.

337                     eventData.stopPropagationHint = true;
                      ~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:345:70 - error TS1183: An implementation cannot be declared in ambient contexts.

345     export function patchInteractionManager(interactionManager: any) {
                                                                       ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:347:13 - error TS1036: Statements are not allowed in ambient contexts.

347             return;
              ~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:350:13 - error TS1036: Statements are not allowed in ambient contexts.

350             if (!interactionManager.search.worksWithDisplay) {
              ~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:351:17 - error TS1036: Statements are not allowed in ambient contexts.

351                 interactionManager.search = new LayersTreeSearch();
                  ~~~~~~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:354:13 - error TS1036: Statements are not allowed in ambient contexts.

354             interactionManager.processInteractive = processInteractive51;
              ~~~~~~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:364:42 - error TS1183: An implementation cannot be declared in ambient contexts.

364         constructor(public layer: Layer) {
                                           ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:367:45 - error TS1039: Initializers are not allowed in ambient contexts.

367         renderTexture: PIXI.RenderTexture = null;
                                              ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:368:51 - error TS1039: Initializers are not allowed in ambient contexts.

368         doubleBuffer: Array<PIXI.RenderTexture> = null;
                                                    ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:369:30 - error TS1039: Initializers are not allowed in ambient contexts.

369         currentBufferIndex = 0;
                               ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:370:49 - error TS1039: Initializers are not allowed in ambient contexts.

370         _tempRenderTarget: PIXI.RenderTexture = null;
                                                  ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:371:35 - error TS1039: Initializers are not allowed in ambient contexts.

371         _tempRenderTargetSource = new PIXI.Rectangle();
                                    ~~~~~~~~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:373:53 - error TS1183: An implementation cannot be declared in ambient contexts.

373         initRenderTexture(renderer?: PIXI.Renderer) {
                                                      ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:374:27 - error TS1254: A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.

374             const width = renderer ? renderer.screen.width : 100;
                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:375:28 - error TS1254: A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.

375             const height = renderer ? renderer.screen.height : 100;
                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:376:32 - error TS1254: A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.

376             const resolution = renderer ? renderer.resolution : PIXI.settings.RESOLUTION;
                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:381:17 - error TS1036: Statements are not allowed in ambient contexts.

381                 this.doubleBuffer = [
                  ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:388:28 - error TS1183: An implementation cannot be declared in ambient contexts.

388         getRenderTexture() {
                             ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:390:17 - error TS1036: Statements are not allowed in ambient contexts.

390                 this.initRenderTexture();
                  ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:395:46 - error TS1183: An implementation cannot be declared in ambient contexts.

395         pushTexture(renderer: PIXI.Renderer) {
                                               ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:396:28 - error TS1254: A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.

396             const screen = renderer.screen;
                             ~~~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:399:17 - error TS1036: Statements are not allowed in ambient contexts.

399                 this.initRenderTexture(renderer);
                  ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:402:24 - error TS1254: A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.

402             const rt = this.renderTexture;
                         ~~~~~~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:403:27 - error TS1254: A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.

403             const group = this.layer.group;
                            ~~~~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:404:24 - error TS1254: A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.

404             const db = this.doubleBuffer;
                         ~~~~~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:409:17 - error TS1036: Statements are not allowed in ambient contexts.

409                 rt.baseTexture.resolution = renderer.resolution;
                  ~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:413:21 - error TS1036: Statements are not allowed in ambient contexts.

413                     db[0].baseTexture.resolution = renderer.resolution;
                      ~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:427:30 - error TS1039: Initializers are not allowed in ambient contexts.

427                 let buffer = db[this.currentBufferIndex];
                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:428:17 - error TS1036: Statements are not allowed in ambient contexts.

428                 if (!(buffer.baseTexture as any)._glTextures[renderer.CONTEXT_UID]) {
                  ~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:429:21 - error TS1036: Statements are not allowed in ambient contexts.

429                     renderer.renderTexture.bind(buffer, undefined, undefined);
                      ~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:432:25 - error TS1036: Statements are not allowed in ambient contexts.

432                         renderer.renderTexture.clear(group.clearColor as any);
                          ~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:443:17 - error TS1036: Statements are not allowed in ambient contexts.

443                 renderer.renderTexture.bind(rt, undefined, undefined);
                  ~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:447:17 - error TS1036: Statements are not allowed in ambient contexts.

447                 renderer.renderTexture.clear(group.clearColor as any);
                  ~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:451:33 - error TS1254: A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.

451             const filterStack = renderer.filter.defaultFilterStack;
                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:453:17 - error TS1036: Statements are not allowed in ambient contexts.

453                 filterStack[filterStack.length - 1].renderTexture = renderer.renderTexture.current;
                  ~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:457:45 - error TS1183: An implementation cannot be declared in ambient contexts.

457         popTexture(renderer: PIXI.Renderer) {
                                              ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:460:33 - error TS1254: A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.

460             const filterStack = renderer.filter.defaultFilterStack;
                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:462:17 - error TS1036: Statements are not allowed in ambient contexts.

462                 filterStack[filterStack.length - 1].renderTexture = this._tempRenderTarget;
                  ~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:467:21 - error TS1254: A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.

467          const rt = this.renderTexture;
                      ~~~~~~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:468:24 - error TS1254: A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.

468          const group = this.layer.group;
                         ~~~~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:469:21 - error TS1254: A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.

469          const db = this.doubleBuffer;
                      ~~~~~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:472:11 - error TS1036: Statements are not allowed in ambient contexts.

472  	        renderer.texture.unbind(rt.baseTexture);
   	        ~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:474:24 - error TS1039: Initializers are not allowed in ambient contexts.

474  	        let buffer = db[this.currentBufferIndex];
   	                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:480:19 - error TS1183: An implementation cannot be declared in ambient contexts.

480         destroy() {
                    ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:482:17 - error TS1036: Statements are not allowed in ambient contexts.

482                 this.renderTexture.destroy();
                  ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:484:21 - error TS1036: Statements are not allowed in ambient contexts.

484                     this.doubleBuffer[0].destroy(true);
                      ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:492:42 - error TS1183: An implementation cannot be declared in ambient contexts.

492         constructor(group: Group = null) {
                                           ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:495:17 - error TS1036: Statements are not allowed in ambient contexts.

495                 this.group = group;
                  ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:498:17 - error TS1036: Statements are not allowed in ambient contexts.

498                 this.group = new Group(0, false);
                  ~~~~
6mnode_modules/pixi-layers/dist/pixi-layers.d.ts:503:19 - error TS1039: Initializers are not allowed in ambient contexts.

503         isLayer = true;
                    ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:504:24 - error TS1039: Initializers are not allowed in ambient contexts.

504         group: Group = null;
                         ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:505:54 - error TS1039: Initializers are not allowed in ambient contexts.

505         _activeChildren: Array<PIXI.DisplayObject> = [];
                                                       ~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:506:52 - error TS1039: Initializers are not allowed in ambient contexts.

506         _tempChildren: Array<PIXI.DisplayObject> = null;
                                                     ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:507:37 - error TS1039: Initializers are not allowed in ambient contexts.

507         _activeStageParent: Stage = null;
                                      ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:508:54 - error TS1039: Initializers are not allowed in ambient contexts.

508         _sortedChildren: Array<PIXI.DisplayObject> = [];
                                                       ~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:509:35 - error TS1039: Initializers are not allowed in ambient contexts.

509         _tempLayerParent: Layer = null;
                                    ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:512:38 - error TS1039: Initializers are not allowed in ambient contexts.

512         insertChildrenBeforeActive = true;
                                       ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:513:37 - error TS1039: Initializers are not allowed in ambient contexts.

513         insertChildrenAfterActive = true;
                                      ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:515:33 - error TS1183: An implementation cannot be declared in ambient contexts.

515         beginWork(stage: Stage) {
                                  ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:516:28 - error TS1254: A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.

516             const active = this._activeChildren;
                             ~~~~~~~~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:519:35 - error TS1254: A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.

519             const groupChildren = this.group._activeChildren;
                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:521:26 - error TS1039: Initializers are not allowed in ambient contexts.

521             for (let i = 0; i < groupChildren.length; i++) {
                           ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:522:17 - error TS1036: Statements are not allowed in ambient contexts.

522                 groupChildren[i]._activeParentLayer = this;
                  ~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:528:19 - error TS1183: An implementation cannot be declared in ambient contexts.

528         endWork() {
                    ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:529:30 - error TS1254: A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.

529             const children = this.children;
                               ~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:530:28 - error TS1254: A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.

530             const active = this._activeChildren;
                             ~~~~~~~~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:531:28 - error TS1254: A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.

531             const sorted = this._sortedChildren;
                             ~~~~~~~~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:533:26 - error TS1039: Initializers are not allowed in ambient contexts.

533             for (let i = 0; i < active.length; i++) {
                           ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:534:17 - error TS1036: Statements are not allowed in ambient contexts.

534                 this.emit("display", active[i])
                  ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:539:17 - error TS1036: Statements are not allowed in ambient contexts.

539                 for (let i = 0; i < children.length; i++) {
                  ~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:539:30 - error TS1039: Initializers are not allowed in ambient contexts.

539                 for (let i = 0; i < children.length; i++) {
                               ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:540:21 - error TS1036: Statements are not allowed in ambient contexts.

540                     sorted.push(children[i]);
                      ~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:543:26 - error TS1039: Initializers are not allowed in ambient contexts.

543             for (let i = 0; i < active.length; i++) {
                           ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:544:17 - error TS1036: Statements are not allowed in ambient contexts.

544                 sorted.push(active[i]);
                  ~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:548:17 - error TS1036: Statements are not allowed in ambient contexts.

548                 for (let i = 0; i < children.length; i++) {
                  ~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:548:30 - error TS1039: Initializers are not allowed in ambient contexts.

548                 for (let i = 0; i < children.length; i++) {
                               ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:549:3m21 - error TS1036: Statements are not allowed in ambient contexts.

549                     sorted.push(children[i]);
                      ~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:554:17 - error TS1036: Statements are not allowed in ambient contexts.

554                 this.doSort();
                  ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:558:32 - error TS1183: An implementation cannot be declared in ambient contexts.

558         get useRenderTexture() {
                                 ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:562:46 - error TS1183: An implementation cannot be declared in ambient contexts.

562         set useRenderTexture(value: boolean) {
                                               ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:566:31 - error TS1183: An implementation cannot be declared in ambient contexts.

566         get useDoubleBuffer() {
                                ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:570:45 - error TS1183: An implementation cannot be declared in ambient contexts.

570         set useDoubleBuffer(value: boolean) {
                                              ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:574:26 - error TS1183: An implementation cannot be declared in ambient contexts.

574         get clearColor() {
                           ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:578:50 - error TS1183: An implementation cannot be declared in ambient contexts.

578         set clearColor(value: ArrayLike<number>) {
                                                   ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:582:28 - error TS1183: An implementation cannot be declared in ambient contexts.

582         get sortPriority() {
                             ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:586:41 - error TS1183: An implementation cannot be declared in ambient contexts.

586         set sortPriority(value: number) {
                                          ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:590:28 - error TS1183: An implementation cannot be declared in ambient contexts.

590         getRenderTexture() {
                             ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:592:17 - error TS1036: Statements are not allowed in ambient contexts.

592                 this.textureCache = new LayerTextureCache(this);
                  ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:597:31 - error TS1183: An implementation cannot be declared in ambient contexts.

597         updateDisplayLayers() {
                                ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:604:18 - error TS1183: An implementation cannot be declared in ambient contexts.

604         doSort() {
                   ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:608:54 - error TS1183: An implementation cannot be declared in ambient contexts.

608         _preRender(renderer: PIXI.Renderer): boolean {
                                                       ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:610:17 - error TS1036: Statements are not allowed in ambient contexts.

610                 return false;
                  ~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:614:17 - error TS1036: Statements are not allowed in ambient contexts.

614                 this.displayOrder = 0;
                  ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:622:17 - error TS1036: Statements are not allowed in ambient contexts.

622                 return false;
                  ~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:630:17 - error TS1036: Statements are not allowed in ambient contexts.

630                 this._tempChildren = this.children;
                  ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:644:46 - error TS1183: An implementation cannot be declared in ambient contexts.

644         _postRender(renderer: PIXI.Renderer) {
                                               ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:650:41 - error TS1183: An implementation cannot be declared in ambient contexts.

650         render(renderer: PIXI.Renderer) {
                                          ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:652:17 - error TS1036: Statements are not allowed in ambient contexts.

652                 return;
                  ~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:656:17 - error TS1036: Statements are not allowed in ambient contexts.

656                 if (!this.textureCache) {
                  ~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:657:21 - error TS1036: Statements are not allowed in ambient contexts.

657                     this.textureCache = new LayerTextureCache(this);
                      ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:666:17 - error TS1036: Statements are not allowed in ambient contexts.

666                 this.textureCache.popTexture(renderer);
                  ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:670:32 - error TS1183: An implementation cannot be declared in ambient contexts.

670         destroy(options?: any) {
                                 ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:672:17 - error TS1036: Statements are not allowed in ambient contexts.

672                 this.textureCache.destroy();
                  ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:679:5 - error TS1036: Statements are not allowed in ambient contexts.

679     (Layer.prototype as any).renderCanvas = function(renderer: PIXI.CanvasRenderer) {
      ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:679:85 - error TS1183: An implementation cannot be declared in ambient contexts.

679     (Layer.prototype as any).renderCanvas = function(renderer: PIXI.CanvasRenderer) {
                                                                                ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:681:13 - error TS1036: Statements are not allowed in ambient contexts.

681             this.containerRenderCanvas(renderer);
              ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:700:22 - error TS1039: Initializers are not allowed in ambient contexts.

700         _tempPoint = new Point();
                       ~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:701:18 - error TS1039: Initializers are not allowed in ambient contexts.

701         _queue = [[] as Array<DisplayObject>, [] as Array<DisplayObject>];
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:702:30 - error TS1039: Initializers are not allowed in ambient contexts.

702         _eventDisplayOrder = 0;
                               ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:703:28 - error TS1039: Initializers are not allowed in ambient contexts.

703         worksWithDisplay = true;
                             ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:705:142 - error TS1183: An implementation cannot be declared in ambient contexts.

705         recursiveFindHit(point: Point, displayObject: DisplayObject, hitTestOrder: number, interactive: boolean, outOfMask: boolean): number {
                                                                                ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:707:17 - error TS1036: Statements are not allowed in ambient contexts.

707                 return 0;
                  ~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:710:23 - error TS1039: Initializers are not allowed in ambient contexts.

710             let hit = 0,
                        ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:711:37 - error TS1039: Initializers are not allowed in ambient contexts.

711                 interactiveParent = interactive = displayObject.interactive || interactive;
                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:715:17 - error TS1036: Statements are not allowed in ambient contexts.

715                 interactiveParent = false;
                  ~~~~~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:719:17 - error TS1036: Statements are not allowed in ambient contexts.

719                 outOfMask = false;
                  ~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:723:36 - error TS1039: Initializers are not allowed in ambient contexts.

723             const mask: Graphics = (displayObject as any)._mask;
                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:725:17 - error TS1036: Statements are not allowed in ambient contexts.

725                 if (!mask.containsPoint(point)) {
                  ~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:726:21 - error TS1036: 0mStatements are not allowed in ambient contexts.

726                     outOfMask = true;
                      ~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:732:17 - error TS1036: Statements are not allowed in ambient contexts.

732                 if (!displayObject.filterArea.contains(point.x, point.y)) {
                  ~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:733:21 - error TS1036: Statements are not allowed in ambient contexts.

733                     outOfMask = true;
                      ~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:740:52 - error TS1039: Initializers are not allowed in ambient contexts.

740             const children: Array<DisplayObject> = (displayObject as Container).children;
                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:742:17 - error TS1036: Statements are not allowed in ambient contexts.

742                 for (let i = children.length - 1; i >= 0; i--) {
                  ~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:742:30 - error TS1039: Initializers are not allowed in ambient contexts.

742                 for (let i = children.length - 1; i >= 0; i--) {
                               ~~~~~~~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:743:35 - error TS1254: A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.

743                     const child = children[i];
                                    ~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:746:38 - error TS1254: A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.

746                     const hitChild = this.recursiveFindHit(point, child, hitTestOrder, interactiveParent, outOfMask);
                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:747:21 - error TS1036: Statements are not allowed in ambient contexts.

747                     if (hitChild) {
                      ~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:750:25 - error TS1036: Statements are not allowed in ambient contexts.

750                         if (!child.parent) {
                          ~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:751:29 - error TS1036: Statements are not allowed in ambient contexts.

751                             continue;
                              ~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:762:17 - error TS1036: Statements are not allowed in ambient contexts.

762                 if (!outOfMask) {
                  ~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:765:21 - error TS1036: Statements are not allowed in ambient contexts.

765                     if (hitTestOrder < displayObject.displayOrder) {
                      ~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:767:25 - error TS1036: Statements are not allowed in ambient contexts.

767                         if (displayObject.hitArea) {
                          ~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:768:29 - error TS1036: Statements are not allowed in ambient contexts.

768                             displayObject.worldTransform.applyInverse(point, this._tempPoint);
                              ~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:770:33 - error TS1036: Statements are not allowed in ambient contexts.

770                                 hit = displayObject.displayOrder;
                                  ~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:773:29 - error TS1036: Statements are not allowed in ambient contexts.

773                             if ((displayObject as any).containsPoint(point)) {
                              ~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:774:33 - error TS1036: Statements are not allowed in ambient contexts.

774                                 hit = displayObject.displayOrder;
                                  ~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:780:25 - error TS1036: Statements are not allowed in ambient contexts.

780                         this._queueAdd(displayObject, hit === Infinity ? 0 : hit);
                          ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:783:21 - error TS1036: Statements are not allowed in ambient contexts.

783                     if (displayObject.interactive) {
                      ~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:784:25 - error TS1036: Statements are not allowed in ambient contexts.

784                         this._queueAdd(displayObject, 0);
                          ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:793:9 - error TS1183: An implementation cannot be declared in ambient contexts.

793         {
          ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:794:54 - error TS1039: Initializers are not allowed in ambient contexts.

794             let interactionEvent: InteractionEvent = null;
                                                       ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:795:32 - error TS1039: Initializers are not allowed in ambient contexts.

795             let point: Point = null;
                                 ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:798:17 - error TS1036: Statements are not allowed in ambient contexts.

798                 interactionEvent = strangeStuff as InteractionEvent;
                  ~~~~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:801:17 - error TS1036: Statements are not allowed in ambient contexts.

801                 point = strangeStuff as Point;
                  ~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:808:36 - error TS1183: An implementation cannot be declared in ambient contexts.

808         _startInteractionProcess() {
                                     ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:813:17 - error0m TS1036: Statements are not allowed in ambient contexts.

813                 this._queue = [[], []];
                  ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:819:64 - error TS1183: An implementation cannot be declared in ambient contexts.

819         _queueAdd(displayObject: DisplayObject, order: number) {
                                                                 ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:820:25 - error TS1039: Initializers are not allowed in ambient contexts.

820             let queue = this._queue;
                          ~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:822:17 - error TS1036: Statements are not allowed in ambient contexts.

822                 queue[0].push(displayObject);
                  ~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:824:17 - error TS1036: Statements are not allowed in ambient contexts.

824                 if (order > this._eventDisplayOrder) {
                  ~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:825:21 - error TS1036: Statements are not allowed in ambient contexts.

825                     this._eventDisplayOrder = order;
                      ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:826:29 - error TS1039: Initializers are not allowed in ambient contexts.

826                     let q = queue[1];
                              ~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:827:34 - error TS1039: Initializers are not allowed in ambient contexts.

827                     for (let i = 0, l = q.length; i < l; i++) {
                                   ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:827:41 - error TS1039: Initializers are not allowed in ambient contexts.

827                     for (let i = 0, l = q.length; i < l; i++) {
                                          ~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:828:25 - error TS1036: Statements are not allowed in ambient contexts.

828                         queue[0].push(q[i]);
                          ~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:835:76 - error TS1183: An implementation cannot be declared in ambient contexts.

835         _finishInteractionProcess(event: InteractionEvent, func: Function) {
                                                                             ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:836:25 - error TS1039: Initializers are not allowed in ambient contexts.

836             let queue = this._queue;
                          ~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:837:21 - error TS1039: Initializers are not allowed in ambient contexts.

837             let q = queue[0];
                      ~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:838:26 - error TS1039: Initializers are not allowed in ambient contexts.

838             for (var i = 0, l = q.length; i < l; i++) {
                           ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:838:33 - error TS1039: Initializers are not allowed in ambient contexts.

838             for (var i = 0, l = q.length; i < l; i++) {
                                  ~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:839:17 - error TS1036: Statements are not allowed in ambient contexts.

839                 if (event) {
                  ~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:841:21 - error TS1036: Statements are not allowed in ambient contexts.

841                     if (func) {
                      ~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:842:25 - error TS1036: Statements are not allowed in ambient contexts.

842                         func(event, q[i], false);
                          ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:846:21 - error TS1036: Statements are not allowed in ambient contexts.

846                     func(q[i], false);
                      ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:850:26 - error TS1039: Initializers are not allowed in ambient contexts.

850             for (var i = 0, l = q.length; i < l; i++) {
                           ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:850:33 - error TS1039: Initializers are not allowed in ambient contexts.

850             for (var i = 0, l = q.length; i < l; i++) {
                                  ~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:851:17 - error TS1036: Statements are not allowed in ambient contexts.

851                 if (event) {
                  ~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:853:21 - error TS1036: Statements are not allowed in ambient contexts.

853                     if (!event.target) {
                      ~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:854:25 - error TS1036: Statements are not allowed in ambient contexts.

854                         event.target = q[i];
                          ~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:857:25 - error TS1036: Statements are not allowed in ambient contexts.

857                         func(event, q[i], true);
                          ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:861:21 - error TS1036: Statements are not allowed in ambient contexts.

861                     func(q[i], true);
                      ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:884:5 - error TS1036: Statements are not allowed in ambient contexts.

884     (Object as any).assign(PIXI.Renderer.prototype, {
      ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:888:27 - error TS1183: An implementation cannot be declared in ambient contexts.

888         incDisplayOrder() {
                            ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:894:163 - error TS1183: An implementation cannot be declared in ambient contexts.

894         render(displayObject: PIXI.DisplayObject, renderTexture?: PIXI.RenderTexture, clear?: boolean, transform?: PIXI.Transform, skipUpdateTransform?: boolean) {
7m                                                                                ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:896:17 - error TS1036: Statements are not allowed in ambient contexts.

896                 this._lastDisplayOrder = 0;
                  ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:900:17 - error TS1036: Statements are not allowed in ambient contexts.

900                 (displayObject as Stage).updateStage()
                  ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:907:26 - error TS1039: Initializers are not allowed in ambient contexts.

907     let canvasRenderer = (PIXI as any).CanvasRenderer;
                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:909:9 - error TS1036: Statements are not allowed in ambient contexts.

909         (Object as any).assign(canvasRenderer.prototype, {
          ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:913:31 - error TS1183: An implementation cannot be declared in ambient contexts.

913             incDisplayOrder() {
                                ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:919:167 - error TS1183: An implementation cannot be declared in ambient contexts.

919             render(displayObject: PIXI.DisplayObject, renderTexture?: PIXI.RenderTexture, clear?: boolean, transform?: PIXI.Transform, skipUpdateTransform?: boolean) {
                                                                                ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:921:21 - error TS1036: Statements are not allowed in ambient contexts.

921                     this._lastDisplayOrder = 0;
                      ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:925:21 - error TS1036: Statements are not allowed in ambient contexts.

925                     (displayObject as Stage).updateStage()
                      ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:942:23 - error TS1183: An implementation cannot be declared in ambient contexts.

942         constructor() {
                        ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:946:46 - error TS1039: Initializers are not allowed in ambient contexts.

946         static _updateOrderCounter: number = 0;
                                               ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:948:19 - error TS1039: Initializers are not allowed in ambient contexts.

948         isStage = true;
                    ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:950:45 - error TS1039: Initializers are not allowed in ambient contexts.

950         _tempGroups: Array<DisplayObject> = [];
                                              ~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:955:39 - error TS1039: Initializers are not allowed in ambient contexts.

955         _activeLayers: Array<Layer> = [];
                                        ~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:957:37 - error TS1039: Initializers are not allowed in ambient contexts.

957         _activeParentStage: Stage = null;
                                      ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:963:17 - error TS1183: An implementation cannot be declared in ambient contexts.

963         clear() {
                  ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:968:32 - error TS1183: An implementation cannot be declared in ambient contexts.

968         destroy(options?: any) {
                                 ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:978:53 - error TS1183: An implementation cannot be declared in ambient contexts.

978         _addRecursive(displayObject: DisplayObject) {
                                                      ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:980:17 - error TS1036: Statements are not allowed in ambient contexts.

980                 return;
                  ~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:984:31 - error TS1254: A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.

984                 const layer = displayObject as any as Layer;
                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:985:17 - error TS1036: Statements are not allowed in ambient contexts.

985                 this._activeLayers.push(layer);
                  ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:990:31 - error TS1254: A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.

990                 const stage = displayObject as Stage;
                                ~~~~~~~~~~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:991:17 - error TS1036: Statements are not allowed in ambient contexts.

991                 stage.updateAsChildStage(this);
                  ~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:998:25 - error TS1039: Initializers are not allowed in ambient contexts.

998             let group = displayObject.parentGroup;
                          ~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:1000:17 - error TS1036: Statements are not allowed in ambient contexts.

1000                 group.addDisplayObject(this, displayObject);
                   ~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:1002:27 - error TS1254: A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.

1002             const layer = displayObject.parentLayer;
                             ~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:1004:17 - error TS1036: Statements are not allowed in ambient contexts.

1004                 group = layer.group;
                   ~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:1012:17 - error TS1036: Statements are not allowed in ambient contexts.

1012                 return;
                   ~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:1015:30 - error TS1254: A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.

1015             const children = (displayObject as Container).children;
                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:1017:17 - error TS1036: Statements are not allowed in ambient contexts.

1017                 for (let i = 0; i < children.length; i++) {
                   ~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:1017:30 - error TS1039: Initializers are not allowed in ambient contexts.

1017                 for (let i = 0; i < children.length; i++) {
                                ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:1018:21 - error TS1036: Statements are not allowed in ambient contexts.

1018                     this._addRecursive(children[i]);
                       ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:1023:61 - error TS1183: An implementation cannot be declared in ambient contexts.

1023         _addRecursiveChildren(displayObject: DisplayObject) {
                                                               ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:1026:17 - error TS1036: Statements are not allowed in ambient contexts.

1026                 return;
                   ~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:1028:30 - error TS1254: A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.

1028             const children = (displayObject as Container).children;
                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:1030:17 - error TS1036: Statements are not allowed in ambient contexts.

1030                 for (let i = 0; i < children.length; i++) {
                   ~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:1030:30 - error TS1039: Initializers are not allowed in ambient contexts.

1030                 for (let i = 0; i < children.length; i++) {
                                ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:1031:21 - error TS1036: Statements are not allowed in ambient contexts.

1031                     this._addRecursive(children[i]);
                       ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:1036:29 - error TS1183: An implementation cannot be declared in ambient contexts.

1036         _updateStageInner() {
                               ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:1039:28 - error TS1254: A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.

1039             const layers = this._activeLayers;
                              ~~~~~~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:1041:26 - error TS1039: Initializers are not allowed in ambient contexts.

1041             for (let i = 0; i < layers.length; i++) {
                            ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:1042:31 - error TS1254: A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.

1042                 const layer = layers[i];
                                 ~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:1043:17 - error TS1036: Statements are not allowed in ambient contexts.

1043                 if (layer.group.sortPriority) {
                   ~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:1044:21 - error TS1036: Statements are not allowed in ambient contexts.

1044                     layer.endWork();
                       ~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:1045:36 - error TS1254: A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.

1045                     const sorted = layer._sortedChildren;
                                      ~~~~~~~~~~~~~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:1046:34 - error TS1039: Initializers are not allowed in ambient contexts.

1046                     for (let j = 0; j < sorted.length; j++) {
                                    ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:1047:25 - error TS1036: Statements are not allowed in ambient contexts.

1047                         this._addRecursiveChildren(sorted[j]);
                           ~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:1052:26 - error TS1039: Initializers are not allowed in ambient contexts.

1052             for (let i = 0; i < layers.length; i++) {
                            ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:1053:31 - error TS1254: A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.

1053                 const layer = layers[i];
                                 ~~~~~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:1054:17 - error TS1036: Statements are not allowed in ambient contexts.

1054                 if (!layer.group.sortPriority) {
                   ~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:1055:21 - error TS1036: Statements are not allowed in ambient contexts.

1055                     layer.endWork();
                       ~~~~~
node_modules/pixi-layers/dist/pixi-layers.d.ts:1060:42 - error TS1183: An implementation cannot be declared in ambient contexts.

1060         updateAsChildStage(stage: Stage) {
                                            ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:1066:23 - error TS1183: An implementation cannot be declared in ambient contexts.

1066         updateStage() {
                         ~
node_modules/pixi-layers/dist/pixi-layers.d.ts:1076:2 - error TS1036: Statements are not allowed in ambient contexts.

1076  (PIXI as any).display = PIXI.display;

Why are there so many errors? Any ideas?
Was it the thing before 5.3 update?

No its was not present before. It only came with  "pixi-layers": "^0.3.0",
for "pixi-layers": "^0.2.3". These errors were not there.
PIXI version in both case is is this ----- >.  "pixi.js": "^5.3.3",

wow i see it now, sorry

0.3.1 , please try now

Great..Its working..Thank u so much.

I can't install<EMAIL_ADDRESS>and I search it in npm but got the latest version is 0.3.0,  do someone unpublish this version in npm?

you need it for pixi-v6, right? @pixi/layers is new name

No, we use pixi-v5

you need it for pixi-v6, right? @pixi/layers is new name

No, we use pixi-v5

According to https://www.npmjs.com/package/pixi-layers , pixi-layers version is 0.3.1

According to https://www.npmjs.com/package/pixi-layers , pixi-layers version is 0.3.1

yeah, but we can not find the version when run “yarn add pixi-layers” in terminal

npm install pixi-layers in empty directory gives me 0.3.1
clean your yarn cache

npm install pixi-layers in empty directory gives me 0.3.1
clean your yarn cache

Thanks, Ivan. Seems it blocked by cache.


resizeWidth does not resize images for s3 upload

When resizeWidth option is set, the file which is uploaded to S3 is not resized.
Just FYI: The file which is received by url endpoint is resized, this means the dropzone is resizing the image, it's just that s3 endpoint is not receiving the resized image. S3 endpoint is receiving original image.
          <vue-dropzone
              ref="myVueDropzone"
              :awss3="awss3"
              id="dropzone"
              :options="dropzoneOptions"
              v-on:vdropzone-success="fileUploaded"
            ></vue-dropzone>

data() {
    return {
      dropzoneOptions: {
        url: process.env.VUE_APP_API_URL,
        resizeWidth: 1080,
        resizeHeight: 1080,
        resizeMethod: "contain",
        acceptedFiles: "image/*"
      }
    };
  },
  computed: {
    awss3() {
      function returnUrl() {
        return `${process.env.VUE_APP_API_URL}/a/awssigningurl`;
      }
      const { jwt } = this.$store.state.auth;
      return {
        signingURL: returnUrl,
        sendFileToServer: true,
        withCredentials: false,
        headers: {
          Authorization: jwt,
        }
      };
    }
  },

This issue was also mentioned in #157, #355 but closed. In issue #379 the discussion is not being continued.

Hi @adarshmadrecha
The S3 implementation is very light-weight so resizing isn't yet supported. Alot of work needs to happen for the s3 stuff so I'm not able to put a timeframe on it sorry

Whoops accidentally closed


ApplyTo does not accept a ModelState in the Microsoft.AspNetCore.JsonPatch NuGet package

This feedback is written regarding the documentation at https://docs.microsoft.com/en-us/aspnet/core/web-api/jsonpatch?view=aspnetcore-3.1#jsonpatch-in-aspnet-core in the linked section "JsonPatch in ASP.NET Core".
The section indicates that the ASP.NET Core implementation of JSON Patch is provided in the Microsoft.AspNetCore.JsonPatch NuGet package and then cites an example that passes ModelState in as an argument to the ApplyTo method on a  JsonPatchDocument<T>. This method overload does not exist within the installed library as seen in the below source:
https://github.com/aspnet/AspNetCore/blob/c759f5b8f82fc0ed1a5e918c6b611ffb861af84d/src/Features/JsonPatch/src/JsonPatchDocumentOfT.cs#L708
https://github.com/aspnet/AspNetCore/blob/c759f5b8f82fc0ed1a5e918c6b611ffb861af84d/src/Features/JsonPatch/src/JsonPatchDocumentOfT.cs#L719
ttps://github.com/aspnet/AspNetCore/blob/c759f5b8f82fc0ed1a5e918c6b611ffb861af84d/src/Features/JsonPatch/src/JsonPatchDocumentOfT.cs#L753
Rather, it's an extension method available within the Microsoft.AspNetCore.Mvc.NewtonsoftJson package:
https://github.com/aspnet/AspNetCore/blob/c759f5b8f82fc0ed1a5e918c6b611ffb861af84d/src/Mvc/Mvc.NewtonsoftJson/src/JsonPatchExtensions.cs#L21
This specific example should likely be replaced with one that uses only the native implementation (for the time being in the current release) and this example should be moved into another sub-section of this portion of the document that describes both installing this other package to use its extension method for validation purposes.
I'll be submitting an issue in the relevant Github repo to move this extension into the JsonPatchDocument package itself.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 593f528c-61b9-7021-335d-c1c0ec1814d1
Version Independent ID: 6a88d237-1a03-b865-e3c5-20ceedef2a1f
Content: JsonPatch in ASP.NET Core web API
Content Source: aspnetcore/web-api/jsonpatch.md
Product: aspnet-core
Technology: aspnetcore-webapi
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

@WhitWaldo see https://github.com/aspnet/AspNetCore.Docs/pull/16824

This section https://docs.microsoft.com/en-us/aspnet/core/web-api/jsonpatch?view=aspnetcore-3.1#jsonpatch-in-aspnet-core is written not good.  I also tried it for a long time to implement it. That's why I want to submit JsonPatch example PR.
In ASP.NET Core 3.1, JsonPatch is still needed NewtonsoftJson to support operations.

Waiting for PR review and merge, you can access my jsonpatch sample version:
https://github.com/kkbruce/AspNetCore.Docs/tree/master/aspnetcore/web-api/jsonpatch/samples/3.1

@kkbruce  what's the status of this issue?

Tracked in JsonPatch Master issue. Look here #18330


Performance comparison

Hi, cool idea!
Have conducted some performance comparisons between regular jobs and managed jobs? Is the a noticeable overhead for using GCHandle? Leaving Burst disabled, of course

Have conducted some performance comparisons between regular jobs and managed jobs?

No, I have not.

Is the a noticeable overhead for using GCHandle? Leaving Burst disabled, of course

I really don't think so. My guess is that the overhead of getting an object from a pinned GCHandle + the virtual call using interface object is negligible in most cases.


unfreeze discipline. use master instead of v0.7

master branch support Scala 2.13.0-M4
https://github.com/typelevel/discipline/commit/c4b31ece727bb962187257a0e00b14a8a6bb757c

try again with sbt 0.13 -> 1 upgrade taken into account: https://scala-ci.typesafe.com/job/scala-2.13.x-integrate-community-build/1224/ (404 for now)


HTML

HTML
User Story
As a Bootcamp user
I want the prework notes to be structured on a webpage
so that I can easily find and read information
Acceptance Criteria
GIVEN a Prework Study Guide website
WHEN I visit the website in my browser
THEN I see four boxes titled HTML, CSS, Git, and JavaScript with associated notes listed

HTML issue closed


⚠ gorzdrav.org has degraded performance

In fbaf3b7, gorzdrav.org (https://gorzdrav.org) experienced degraded performance:

HTTP code: 200
Response time: 1185 ms

Resolved: gorzdrav.org performance has improved in 2972843.


Use AsRef as bounds in negotiation

Looking through #14, I was left wondering if something like this wouldn't be a simpler way to get where you want to be?
(This is just intended as an illustration, not as a real patch.)

Hmm, I like the approach!

And I think this will work for Locale with just,
impl AsRef<LanguageIdentifier> for Locale {
    fn as_ref(&self) -> &LanguageIdentifier {
        &self.langid
    }
}

Already there! https://github.com/zbraniecki/unic-locale/blob/master/unic-locale-impl/src/lib.rs#L136
I think this model works quite well for negotiation and other cases where you get something, operate on it as LanguageIdentifier, and then return filtered results etc. (negotiation use case).
But for cases like PluralRules and DateTimeFormat or Localization where your API has to accept a langid/locale or a list of locales/langids, and keep it, would AsRef work?
struct FluentBundle {
    langid: LanguageIdentifier
}

impl FluentBundle {
    pub fn new(langid: AsRef<LanguageIdentifier>) -> Self {
        LanguageIdentifier {
            langid: langid.as_ref().to_owned()
        }
    }
}

struct Localization {
    langids: Vec<LanguageIdentifier>
}

impl Localization {
    pub fn new(langids: &[AsRef<LanguageIdentifier>]) -> Self {
        LanguageIdentifier {
            langids: langid.iter().map(|langid| langid.as_ref().to_owned()).collect()
        }
    }
}

Is that how it would work? Then:

If someone uses Locale they can pass it and we'll turn it into LanguageIdentifier
If we internally switch to Locale we'll use the impl AsRef<Locale> for LanguageIdentfier which will allocate a new Locale out of a LanguageIdentifier?
But if you pass a LanguageIdentifier, we'll allocate a new one via as_ref().to_owned(), right?

I think the idiomatic API for this would be to use Into<LanguageIdentifier> in the signatures, and then implement From<Locale> for LanguageIdentifier.
Something to think about when designing APIs in Rust is to make allocations explicit. This is informally specified in a bunch of naming conventions: as_ should be used for reference-to-reference conversions, to_ should be used for reference-to-owned conversions (which may be expensive), and into_ is used for owned-to-owned conversions, which... I'm not sure.
Anyway what I mean to say here: AsRef in a function signature suggests that we only want to borrow something. If we want an owned copy we can use Into<T>, which better communicates our intent.
Similarly in general I don't think API should take a slice as an argument if it's going to immediately allocate a vec and copy all the items. ask for a slice if we're going to immediately be allocating and copying those elements in the function.
In this particular situation, though, &[impl Into<LanguageIdentifier>] is understandable, because there's no other good way to express what you'd like. The alternative would be to ask for an explicit Vec<LanguageIdentifier>, and to make the user do the allocation themselves before calling the method; or you could make Localization generic over, say, T: AsRef<LanguageIdentifier> but that really doesn't feel worth it?

Another little thing I noticed looking at locale-impl; you don't need to implement Into<T> for U when both T and U are defined in your crate; From<U> for T gives you an impl automatically. See the From docs for a better explanation.

that looks great! Thank you!


ACI - add pagination to people's page

Don't see it added.
Can you please double check that we have pagination for both people and projects pages:

works now

team page doesn't show content now:

fixed

pagination is gone


Firefox debugger doesn't find sources

Describe the bug
When using the debugger in Firefox, the debugger itself will activate, but it doesn't show source files.
Link to the blitz that caused the error
https://stackblitz.com/edit/express-simple-8wjs4b?file=pages%2Findex.html,index.js
Steps to reproduce

Run server with debugger statement in request handler.
Open the live preview in a new window.
Open FireFox DevTools in the WebContainer tab.
Reload the live preview.

Expected behavior
The Debugger in Firefox DevTools should show the source file and breakpoint.
Parity with Local

[X] I have run the project in my local machine and I could not reproduce the issue.

Screenshots

Platform
Browser name  = Firefox
Full version  = 100.0
Major version = 100
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:100.0) Gecko/20100101 Firefox/100.0
performance.memory = undefined
Hash = 559f3172f16a5cad818f12137dc1ad768987ee30

Additional context
No response

Hey 👋 Yes this is a known issue but it's more an issue with Firefox and less with WebContainer. The Firefox debugger seems to have issues with very large source files. If you want you can post this in their bug tracker to raise awareness as well.

just saw this, we filed https://bugzilla.mozilla.org/show_bug.cgi?id=1821250 and are investigating what is causing the issue

Ah sweet! I also messaged Bobby about this. Thanks for commenting here and for investigating 🙏


Correction for raw affiliation MEDyC UMR CNRS 7369, "Matrice Extracellulaire et Dynamique Cellulaire", University of Reims Champagne-Ardenne, Team 2 "Matrix Ageing and Vascular Remodelling", 51100 Reims, France

Correction needed for raw affiliation MEDyC UMR CNRS 7369, "Matrice Extracellulaire et Dynamique Cellulaire", University of Reims Champagne-Ardenne, Team 2 "Matrix Ageing and Vascular Remodelling", 51100 Reims, France
raw_affiliation_name: MEDyC UMR CNRS 7369, "Matrice Extracellulaire et Dynamique Cellulaire", University of Reims Champagne-Ardenne, Team 2 "Matrix Ageing and Vascular Remodelling", 51100 Reims, France
new_rors: 03hypw319;02feahw73;017p6sq53
previous_rors: 03hypw319;02feahw73
works_examples: W4390875148
contact: ffffa3ca6ba382f3ec268819e166cb2f:921d2723eeb3b1b661bb5caf @ univ-reims.fr

This issue was accepted and ingested by the OpenAlex team on 2024-12-19. The new affiliations should be visible within the next 7 days.


Fix pure Prompt Issues on zsh-async with zsh 5.3

Updates submodule SHA for modules/prompt/external-themes/pure to the current HEAD, primarily to address issues as outlined in:

pure/issues/258
pure/issues/137
pure/issues/91

To illustrate:
/tmp/git
❯ git init
Initialized empty Git repository in /private/tmp/git/.git/

/tmp/git master0.0104088783
❯
prompt_pure_async_callback:13: bad math expression: operand expected at `> 2 '
❯

Given:
❯ zsh --version
zsh 5.3.1 (x86_64-apple-darwin16.3.0)

❯ git --version
git version 2.11.0

This commit updates the submodule SHA to pull in the fix by @mafredri on 787cab6.

Apologies, didn't see an existing pull request. Closing as it is effectively a duplicate of pull/113 by @antoineco.


Fix tests run

Describe the bug
Test run is not reaching the 100% as expected.
To Reproduce
Steps to reproduce the behavior:

Clone the repository
Install the dependencies
Run the tests
See that there is not 100% of the code that is covered.

Expected behavior
The code should be tested up to 100%.
Screenshots
None.
Environment (please complete the following information):

Operating System: [e.g. Windows 10] Arch
Browser [e.g. Chrome 108] Chrome 117
Node [e.g. 18.0.0] 20.0.0
Package Manager [e.g. NPM 8.2.9] 10.4.2
Package Version [e.g. 0.1.0] 3.3.0

Additional context
Recent features added have decreased the tests coverage.

This issue has been postponed, waiting for the new breaking release as it might allow for a easier time testing the code, anticipating a reduction in the source-code as well.


Decriase filters events on typing (keypress)

https://github.com/opendataby/osm-streets/blob/gh-pages/src/components/Filters.js#L68

seems that problem with same state part for the input value and map filter
We need to separate them and not update input with that part of state
(just leave it in state of panel component or create separate panelFilters in state

For map also no sense apply filters on each event (keypress).


mishandling of downward count of numchannels in arrays

When one runs a process and decides to only take one channel of output, it seems that the (simulated) multichannel array check is not considering the destination channel count to allow a single array to be given as a destination.
In the attached example, which needs the fluid.bufpitch help patch to run, the stats are run only on the first channel of the bufpitch-feats multiarray by specifying -numchannels 1 - yet we get an error that is slightly comical:

Not enough arrays to operate on pitchstats. Found 2 array(s) but need 1.

bug.pd.zip

The attribute is -numchans not -numchannels

Although it would be good if the error message made sense

oops. sorry for the wrong bug report