azure-maps-control 3.7.1 → 3.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "azure-maps-control",
3
3
  "author": "Microsoft Corporation",
4
- "version": "3.7.1",
4
+ "version": "3.7.2",
5
5
  "description": "Map SDK for Azure Maps",
6
6
  "keywords": [
7
7
  "azure",
@@ -18,8 +18,8 @@
18
18
  "docs": "(if exist \"./docs/\" rmdir \"./docs/\" /S /Q) && tsc --declaration --declarationDir ./docs --emitDeclarationOnly --stripInternal",
19
19
  "lessc": "node_modules/.bin/lessc",
20
20
  "test": "npm run test:unit && npm run test:func",
21
- "test:unit": "echo \"[TEMP] skip problemScript\"",
22
- "test:func": "echo \"[TEMP] skip problemScript\"",
21
+ "test:unit": "jest -c test/unit/jest.config.js",
22
+ "test:func": "jest -c test/func/jest.config.js",
23
23
  "test:e2e": "npx playwright test -c test/e2e/playwright.config.ts",
24
24
  "pretest:func": "npm run updatePackageVersionForTests -- --isPreTest true",
25
25
  "posttest:func": "npm run updatePackageVersionForTests -- --isPreTest false",
@@ -604,7 +604,7 @@ declare namespace atlas {
604
604
  /**
605
605
  * Implements control interface and provides support for automatic styling based on the map style.
606
606
  */
607
- export abstract class ControlBase<T = any> extends internal.EventEmitter<T> implements Control {
607
+ export abstract class ControlBase<T extends internal.EventArgs = any> extends internal.EventEmitter<T> implements Control {
608
608
  /**
609
609
  * Initialization method for the control which is called when added to the map.
610
610
  * @param map The map that the control will be added to.