@microsoft/applicationinsights-web-basic 3.0.0-beta.2303-03 → 3.0.0-beta.2303-04

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.
@@ -1981,13 +1981,35 @@
1981
1981
  "excerptTokens": [
1982
1982
  {
1983
1983
  "kind": "Content",
1984
- "text": "export declare class AppInsightsCore implements "
1984
+ "text": "export declare class AppInsightsCore<CfgType extends "
1985
+ },
1986
+ {
1987
+ "kind": "Reference",
1988
+ "text": "IConfiguration",
1989
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IConfiguration:interface"
1990
+ },
1991
+ {
1992
+ "kind": "Content",
1993
+ "text": " = "
1994
+ },
1995
+ {
1996
+ "kind": "Reference",
1997
+ "text": "IConfiguration",
1998
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IConfiguration:interface"
1999
+ },
2000
+ {
2001
+ "kind": "Content",
2002
+ "text": "> implements "
1985
2003
  },
1986
2004
  {
1987
2005
  "kind": "Reference",
1988
2006
  "text": "IAppInsightsCore",
1989
2007
  "canonicalReference": "@microsoft/applicationinsights-web-basic!IAppInsightsCore:interface"
1990
2008
  },
2009
+ {
2010
+ "kind": "Content",
2011
+ "text": "<CfgType>"
2012
+ },
1991
2013
  {
1992
2014
  "kind": "Content",
1993
2015
  "text": " "
@@ -1995,6 +2017,19 @@
1995
2017
  ],
1996
2018
  "fileUrlPath": "../shared/AppInsightsCore/types/JavaScriptSDK/AppInsightsCore.d.ts",
1997
2019
  "releaseTag": "Public",
2020
+ "typeParameters": [
2021
+ {
2022
+ "typeParameterName": "CfgType",
2023
+ "constraintTokenRange": {
2024
+ "startIndex": 1,
2025
+ "endIndex": 2
2026
+ },
2027
+ "defaultTypeTokenRange": {
2028
+ "startIndex": 3,
2029
+ "endIndex": 4
2030
+ }
2031
+ }
2032
+ ],
1998
2033
  "isAbstract": false,
1999
2034
  "name": "AppInsightsCore",
2000
2035
  "preserveMemberOrder": false,
@@ -2481,9 +2516,8 @@
2481
2516
  "text": "config: "
2482
2517
  },
2483
2518
  {
2484
- "kind": "Reference",
2485
- "text": "IConfiguration",
2486
- "canonicalReference": "@microsoft/applicationinsights-web-basic!IConfiguration:interface"
2519
+ "kind": "Content",
2520
+ "text": "CfgType"
2487
2521
  },
2488
2522
  {
2489
2523
  "kind": "Content",
@@ -2502,37 +2536,6 @@
2502
2536
  "isProtected": false,
2503
2537
  "isAbstract": false
2504
2538
  },
2505
- {
2506
- "kind": "Property",
2507
- "canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore.defaultConfig:member",
2508
- "docComment": "",
2509
- "excerptTokens": [
2510
- {
2511
- "kind": "Content",
2512
- "text": "static defaultConfig: "
2513
- },
2514
- {
2515
- "kind": "Reference",
2516
- "text": "IConfiguration",
2517
- "canonicalReference": "@microsoft/applicationinsights-web-basic!IConfiguration:interface"
2518
- },
2519
- {
2520
- "kind": "Content",
2521
- "text": ";"
2522
- }
2523
- ],
2524
- "isReadonly": false,
2525
- "isOptional": false,
2526
- "releaseTag": "Public",
2527
- "name": "defaultConfig",
2528
- "propertyTypeTokenRange": {
2529
- "startIndex": 1,
2530
- "endIndex": 2
2531
- },
2532
- "isStatic": true,
2533
- "isProtected": false,
2534
- "isAbstract": false
2535
- },
2536
2539
  {
2537
2540
  "kind": "Method",
2538
2541
  "canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#eventCnt:member(1)",
@@ -3017,9 +3020,8 @@
3017
3020
  "text": "initialize(config: "
3018
3021
  },
3019
3022
  {
3020
- "kind": "Reference",
3021
- "text": "IConfiguration",
3022
- "canonicalReference": "@microsoft/applicationinsights-web-basic!IConfiguration:interface"
3023
+ "kind": "Content",
3024
+ "text": "CfgType"
3023
3025
  },
3024
3026
  {
3025
3027
  "kind": "Content",
@@ -3179,25 +3181,7 @@
3179
3181
  "excerptTokens": [
3180
3182
  {
3181
3183
  "kind": "Content",
3182
- "text": "onCfgChange<T extends "
3183
- },
3184
- {
3185
- "kind": "Reference",
3186
- "text": "IConfiguration",
3187
- "canonicalReference": "@microsoft/applicationinsights-web-basic!IConfiguration:interface"
3188
- },
3189
- {
3190
- "kind": "Content",
3191
- "text": " = "
3192
- },
3193
- {
3194
- "kind": "Reference",
3195
- "text": "IConfiguration",
3196
- "canonicalReference": "@microsoft/applicationinsights-web-basic!IConfiguration:interface"
3197
- },
3198
- {
3199
- "kind": "Content",
3200
- "text": ">(handler: "
3184
+ "text": "onCfgChange(handler: "
3201
3185
  },
3202
3186
  {
3203
3187
  "kind": "Reference",
@@ -3206,7 +3190,7 @@
3206
3190
  },
3207
3191
  {
3208
3192
  "kind": "Content",
3209
- "text": "<T>"
3193
+ "text": "<CfgType>"
3210
3194
  },
3211
3195
  {
3212
3196
  "kind": "Content",
@@ -3222,23 +3206,10 @@
3222
3206
  "text": ";"
3223
3207
  }
3224
3208
  ],
3225
- "typeParameters": [
3226
- {
3227
- "typeParameterName": "T",
3228
- "constraintTokenRange": {
3229
- "startIndex": 1,
3230
- "endIndex": 2
3231
- },
3232
- "defaultTypeTokenRange": {
3233
- "startIndex": 3,
3234
- "endIndex": 4
3235
- }
3236
- }
3237
- ],
3238
3209
  "isStatic": false,
3239
3210
  "returnTypeTokenRange": {
3240
- "startIndex": 8,
3241
- "endIndex": 9
3211
+ "startIndex": 4,
3212
+ "endIndex": 5
3242
3213
  },
3243
3214
  "releaseTag": "Public",
3244
3215
  "isProtected": false,
@@ -3247,8 +3218,8 @@
3247
3218
  {
3248
3219
  "parameterName": "handler",
3249
3220
  "parameterTypeTokenRange": {
3250
- "startIndex": 5,
3251
- "endIndex": 7
3221
+ "startIndex": 1,
3222
+ "endIndex": 3
3252
3223
  },
3253
3224
  "isOptional": false
3254
3225
  }
@@ -3769,29 +3740,11 @@
3769
3740
  "excerptTokens": [
3770
3741
  {
3771
3742
  "kind": "Content",
3772
- "text": "updateCfg<T extends "
3773
- },
3774
- {
3775
- "kind": "Reference",
3776
- "text": "IConfiguration",
3777
- "canonicalReference": "@microsoft/applicationinsights-web-basic!IConfiguration:interface"
3778
- },
3779
- {
3780
- "kind": "Content",
3781
- "text": " = "
3782
- },
3783
- {
3784
- "kind": "Reference",
3785
- "text": "IConfiguration",
3786
- "canonicalReference": "@microsoft/applicationinsights-web-basic!IConfiguration:interface"
3787
- },
3788
- {
3789
- "kind": "Content",
3790
- "text": ">(newConfig: "
3743
+ "text": "updateCfg(newConfig: "
3791
3744
  },
3792
3745
  {
3793
3746
  "kind": "Content",
3794
- "text": "T"
3747
+ "text": "CfgType"
3795
3748
  },
3796
3749
  {
3797
3750
  "kind": "Content",
@@ -3814,23 +3767,10 @@
3814
3767
  "text": ";"
3815
3768
  }
3816
3769
  ],
3817
- "typeParameters": [
3818
- {
3819
- "typeParameterName": "T",
3820
- "constraintTokenRange": {
3821
- "startIndex": 1,
3822
- "endIndex": 2
3823
- },
3824
- "defaultTypeTokenRange": {
3825
- "startIndex": 3,
3826
- "endIndex": 4
3827
- }
3828
- }
3829
- ],
3830
3770
  "isStatic": false,
3831
3771
  "returnTypeTokenRange": {
3832
- "startIndex": 9,
3833
- "endIndex": 10
3772
+ "startIndex": 5,
3773
+ "endIndex": 6
3834
3774
  },
3835
3775
  "releaseTag": "Public",
3836
3776
  "isProtected": false,
@@ -3839,16 +3779,16 @@
3839
3779
  {
3840
3780
  "parameterName": "newConfig",
3841
3781
  "parameterTypeTokenRange": {
3842
- "startIndex": 5,
3843
- "endIndex": 6
3782
+ "startIndex": 1,
3783
+ "endIndex": 2
3844
3784
  },
3845
3785
  "isOptional": false
3846
3786
  },
3847
3787
  {
3848
3788
  "parameterName": "mergeExisting",
3849
3789
  "parameterTypeTokenRange": {
3850
- "startIndex": 7,
3851
- "endIndex": 8
3790
+ "startIndex": 3,
3791
+ "endIndex": 4
3852
3792
  },
3853
3793
  "isOptional": true
3854
3794
  }
@@ -3860,8 +3800,8 @@
3860
3800
  ],
3861
3801
  "implementsTokenRanges": [
3862
3802
  {
3863
- "startIndex": 1,
3864
- "endIndex": 2
3803
+ "startIndex": 5,
3804
+ "endIndex": 7
3865
3805
  }
3866
3806
  ]
3867
3807
  },
@@ -4703,7 +4643,25 @@
4703
4643
  "excerptTokens": [
4704
4644
  {
4705
4645
  "kind": "Content",
4706
- "text": "export interface IAppInsightsCore extends "
4646
+ "text": "export interface IAppInsightsCore<CfgType extends "
4647
+ },
4648
+ {
4649
+ "kind": "Reference",
4650
+ "text": "IConfiguration",
4651
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IConfiguration:interface"
4652
+ },
4653
+ {
4654
+ "kind": "Content",
4655
+ "text": " = "
4656
+ },
4657
+ {
4658
+ "kind": "Reference",
4659
+ "text": "IConfiguration",
4660
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IConfiguration:interface"
4661
+ },
4662
+ {
4663
+ "kind": "Content",
4664
+ "text": "> extends "
4707
4665
  },
4708
4666
  {
4709
4667
  "kind": "Reference",
@@ -4717,6 +4675,19 @@
4717
4675
  ],
4718
4676
  "fileUrlPath": "../shared/AppInsightsCore/types/JavaScriptSDK.Interfaces/IAppInsightsCore.d.ts",
4719
4677
  "releaseTag": "Public",
4678
+ "typeParameters": [
4679
+ {
4680
+ "typeParameterName": "CfgType",
4681
+ "constraintTokenRange": {
4682
+ "startIndex": 1,
4683
+ "endIndex": 2
4684
+ },
4685
+ "defaultTypeTokenRange": {
4686
+ "startIndex": 3,
4687
+ "endIndex": 4
4688
+ }
4689
+ }
4690
+ ],
4720
4691
  "name": "IAppInsightsCore",
4721
4692
  "preserveMemberOrder": false,
4722
4693
  "members": [
@@ -5103,19 +5074,18 @@
5103
5074
  "excerptTokens": [
5104
5075
  {
5105
5076
  "kind": "Content",
5106
- "text": "config: "
5077
+ "text": "readonly config: "
5107
5078
  },
5108
5079
  {
5109
- "kind": "Reference",
5110
- "text": "IConfiguration",
5111
- "canonicalReference": "@microsoft/applicationinsights-web-basic!IConfiguration:interface"
5080
+ "kind": "Content",
5081
+ "text": "CfgType"
5112
5082
  },
5113
5083
  {
5114
5084
  "kind": "Content",
5115
5085
  "text": ";"
5116
5086
  }
5117
5087
  ],
5118
- "isReadonly": false,
5088
+ "isReadonly": true,
5119
5089
  "isOptional": false,
5120
5090
  "releaseTag": "Public",
5121
5091
  "name": "config",
@@ -5534,9 +5504,8 @@
5534
5504
  "text": "initialize(config: "
5535
5505
  },
5536
5506
  {
5537
- "kind": "Reference",
5538
- "text": "IConfiguration",
5539
- "canonicalReference": "@microsoft/applicationinsights-web-basic!IConfiguration:interface"
5507
+ "kind": "Content",
5508
+ "text": "CfgType"
5540
5509
  },
5541
5510
  {
5542
5511
  "kind": "Content",
@@ -5655,11 +5624,11 @@
5655
5624
  {
5656
5625
  "kind": "PropertySignature",
5657
5626
  "canonicalReference": "@microsoft/applicationinsights-web-basic!IAppInsightsCore#logger:member",
5658
- "docComment": "",
5627
+ "docComment": "/**\n * The current logger instance for this instance.\n */\n",
5659
5628
  "excerptTokens": [
5660
5629
  {
5661
5630
  "kind": "Content",
5662
- "text": "logger: "
5631
+ "text": "readonly logger: "
5663
5632
  },
5664
5633
  {
5665
5634
  "kind": "Reference",
@@ -5671,7 +5640,7 @@
5671
5640
  "text": ";"
5672
5641
  }
5673
5642
  ],
5674
- "isReadonly": false,
5643
+ "isReadonly": true,
5675
5644
  "isOptional": false,
5676
5645
  "releaseTag": "Public",
5677
5646
  "name": "logger",
@@ -5687,25 +5656,7 @@
5687
5656
  "excerptTokens": [
5688
5657
  {
5689
5658
  "kind": "Content",
5690
- "text": "onCfgChange<T extends "
5691
- },
5692
- {
5693
- "kind": "Reference",
5694
- "text": "IConfiguration",
5695
- "canonicalReference": "@microsoft/applicationinsights-web-basic!IConfiguration:interface"
5696
- },
5697
- {
5698
- "kind": "Content",
5699
- "text": " = "
5700
- },
5701
- {
5702
- "kind": "Reference",
5703
- "text": "IConfiguration",
5704
- "canonicalReference": "@microsoft/applicationinsights-web-basic!IConfiguration:interface"
5705
- },
5706
- {
5707
- "kind": "Content",
5708
- "text": ">(handler: "
5659
+ "text": "onCfgChange(handler: "
5709
5660
  },
5710
5661
  {
5711
5662
  "kind": "Reference",
@@ -5714,7 +5665,7 @@
5714
5665
  },
5715
5666
  {
5716
5667
  "kind": "Content",
5717
- "text": "<T>"
5668
+ "text": "<CfgType>"
5718
5669
  },
5719
5670
  {
5720
5671
  "kind": "Content",
@@ -5732,8 +5683,8 @@
5732
5683
  ],
5733
5684
  "isOptional": false,
5734
5685
  "returnTypeTokenRange": {
5735
- "startIndex": 8,
5736
- "endIndex": 9
5686
+ "startIndex": 4,
5687
+ "endIndex": 5
5737
5688
  },
5738
5689
  "releaseTag": "Public",
5739
5690
  "overloadIndex": 1,
@@ -5741,23 +5692,10 @@
5741
5692
  {
5742
5693
  "parameterName": "handler",
5743
5694
  "parameterTypeTokenRange": {
5744
- "startIndex": 5,
5745
- "endIndex": 7
5746
- },
5747
- "isOptional": false
5748
- }
5749
- ],
5750
- "typeParameters": [
5751
- {
5752
- "typeParameterName": "T",
5753
- "constraintTokenRange": {
5754
5695
  "startIndex": 1,
5755
- "endIndex": 2
5696
+ "endIndex": 3
5756
5697
  },
5757
- "defaultTypeTokenRange": {
5758
- "startIndex": 3,
5759
- "endIndex": 4
5760
- }
5698
+ "isOptional": false
5761
5699
  }
5762
5700
  ],
5763
5701
  "name": "onCfgChange"
@@ -6171,29 +6109,11 @@
6171
6109
  "excerptTokens": [
6172
6110
  {
6173
6111
  "kind": "Content",
6174
- "text": "updateCfg<T extends "
6175
- },
6176
- {
6177
- "kind": "Reference",
6178
- "text": "IConfiguration",
6179
- "canonicalReference": "@microsoft/applicationinsights-web-basic!IConfiguration:interface"
6112
+ "text": "updateCfg(newConfig: "
6180
6113
  },
6181
6114
  {
6182
6115
  "kind": "Content",
6183
- "text": " = "
6184
- },
6185
- {
6186
- "kind": "Reference",
6187
- "text": "IConfiguration",
6188
- "canonicalReference": "@microsoft/applicationinsights-web-basic!IConfiguration:interface"
6189
- },
6190
- {
6191
- "kind": "Content",
6192
- "text": ">(newConfig: "
6193
- },
6194
- {
6195
- "kind": "Content",
6196
- "text": "T"
6116
+ "text": "CfgType"
6197
6117
  },
6198
6118
  {
6199
6119
  "kind": "Content",
@@ -6218,8 +6138,8 @@
6218
6138
  ],
6219
6139
  "isOptional": false,
6220
6140
  "returnTypeTokenRange": {
6221
- "startIndex": 9,
6222
- "endIndex": 10
6141
+ "startIndex": 5,
6142
+ "endIndex": 6
6223
6143
  },
6224
6144
  "releaseTag": "Public",
6225
6145
  "overloadIndex": 1,
@@ -6227,31 +6147,18 @@
6227
6147
  {
6228
6148
  "parameterName": "newConfig",
6229
6149
  "parameterTypeTokenRange": {
6230
- "startIndex": 5,
6231
- "endIndex": 6
6150
+ "startIndex": 1,
6151
+ "endIndex": 2
6232
6152
  },
6233
6153
  "isOptional": false
6234
6154
  },
6235
6155
  {
6236
6156
  "parameterName": "mergeExisting",
6237
6157
  "parameterTypeTokenRange": {
6238
- "startIndex": 7,
6239
- "endIndex": 8
6240
- },
6241
- "isOptional": true
6242
- }
6243
- ],
6244
- "typeParameters": [
6245
- {
6246
- "typeParameterName": "T",
6247
- "constraintTokenRange": {
6248
- "startIndex": 1,
6249
- "endIndex": 2
6250
- },
6251
- "defaultTypeTokenRange": {
6252
6158
  "startIndex": 3,
6253
6159
  "endIndex": 4
6254
- }
6160
+ },
6161
+ "isOptional": true
6255
6162
  }
6256
6163
  ],
6257
6164
  "name": "updateCfg"
@@ -6259,8 +6166,8 @@
6259
6166
  ],
6260
6167
  "extendsTokenRanges": [
6261
6168
  {
6262
- "startIndex": 1,
6263
- "endIndex": 2
6169
+ "startIndex": 5,
6170
+ "endIndex": 6
6264
6171
  }
6265
6172
  ]
6266
6173
  },
@@ -11,7 +11,7 @@ import { ITimerHandler } from '@nevware21/ts-utils';
11
11
  import { throwError } from '@nevware21/ts-utils';
12
12
 
13
13
  // @public (undocumented)
14
- export class AppInsightsCore implements IAppInsightsCore {
14
+ export class AppInsightsCore<CfgType extends IConfiguration = IConfiguration> implements IAppInsightsCore<CfgType> {
15
15
  constructor();
16
16
  // Warning: (ae-forgotten-export) The symbol "INotificationListener" needs to be exported by the entry point index.d.ts
17
17
  addNotificationListener(listener: INotificationListener): void;
@@ -25,9 +25,7 @@ export class AppInsightsCore implements IAppInsightsCore {
25
25
  // Warning: (ae-forgotten-export) The symbol "ILegacyUnloadHook" needs to be exported by the entry point index.d.ts
26
26
  addUnloadHook(hooks: IUnloadHook | IUnloadHook[] | Iterator<IUnloadHook> | ILegacyUnloadHook | ILegacyUnloadHook[] | Iterator<ILegacyUnloadHook>): void;
27
27
  // (undocumented)
28
- config: IConfiguration;
29
- // (undocumented)
30
- static defaultConfig: IConfiguration;
28
+ config: CfgType;
31
29
  // (undocumented)
32
30
  eventCnt(): number;
33
31
  evtNamespace(): string;
@@ -56,14 +54,14 @@ export class AppInsightsCore implements IAppInsightsCore {
56
54
  // Warning: (ae-forgotten-export) The symbol "INotificationManager" needs to be exported by the entry point index.d.ts
57
55
  //
58
56
  // (undocumented)
59
- initialize(config: IConfiguration, extensions: IPlugin[], logger?: IDiagnosticLogger, notificationManager?: INotificationManager): void;
57
+ initialize(config: CfgType, extensions: IPlugin[], logger?: IDiagnosticLogger, notificationManager?: INotificationManager): void;
60
58
  isInitialized: () => boolean;
61
59
  // Warning: (ae-forgotten-export) The symbol "IDiagnosticLogger" needs to be exported by the entry point index.d.ts
62
60
  //
63
61
  // (undocumented)
64
62
  logger: IDiagnosticLogger;
65
63
  // Warning: (ae-forgotten-export) The symbol "WatcherFunction" needs to be exported by the entry point index.d.ts
66
- onCfgChange<T extends IConfiguration = IConfiguration>(handler: WatcherFunction<T>): IUnloadHook;
64
+ onCfgChange(handler: WatcherFunction<CfgType>): IUnloadHook;
67
65
  readonly pluginVersionString: string;
68
66
  readonly pluginVersionStringArr: string[];
69
67
  pollInternalLogs(eventName?: string): ITimerHandler;
@@ -79,7 +77,7 @@ export class AppInsightsCore implements IAppInsightsCore {
79
77
  track(telemetryItem: ITelemetryItem): void;
80
78
  // Warning: (ae-forgotten-export) The symbol "ITelemetryUnloadState" needs to be exported by the entry point index.d.ts
81
79
  unload(isAsync?: boolean, unloadComplete?: (unloadState: ITelemetryUnloadState) => void, cbTimeout?: number): void;
82
- updateCfg<T extends IConfiguration = IConfiguration>(newConfig: T, mergeExisting?: boolean): void;
80
+ updateCfg(newConfig: CfgType, mergeExisting?: boolean): void;
83
81
  // Warning: (ae-forgotten-export) The symbol "IProcessTelemetryUpdateContext" needs to be exported by the entry point index.d.ts
84
82
  // Warning: (ae-forgotten-export) The symbol "ITelemetryUpdateState" needs to be exported by the entry point index.d.ts
85
83
  protected _updateHook?(updateCtx: IProcessTelemetryUpdateContext, updateState: ITelemetryUpdateState): void | boolean;
@@ -300,14 +298,14 @@ export const enum eSeverityLevel {
300
298
  // Warning: (ae-forgotten-export) The symbol "IPerfManagerProvider" needs to be exported by the entry point index.d.ts
301
299
  //
302
300
  // @public (undocumented)
303
- export interface IAppInsightsCore extends IPerfManagerProvider {
301
+ export interface IAppInsightsCore<CfgType extends IConfiguration = IConfiguration> extends IPerfManagerProvider {
304
302
  addNotificationListener?(listener: INotificationListener): void;
305
303
  addPlugin<T extends IPlugin = ITelemetryPlugin>(plugin: T, replaceExisting?: boolean, doAsync?: boolean, addCb?: (added?: boolean) => void): void;
306
304
  addTelemetryInitializer(telemetryInitializer: TelemetryInitializerFunction): ITelemetryInitializerHandler;
307
305
  addUnloadCb(handler: UnloadHandler): void;
308
306
  addUnloadHook(hooks: IUnloadHook | IUnloadHook[] | Iterator<IUnloadHook> | ILegacyUnloadHook | ILegacyUnloadHook[] | Iterator<ILegacyUnloadHook>): void;
309
307
  // (undocumented)
310
- config: IConfiguration;
308
+ readonly config: CfgType;
311
309
  evtNamespace(): string;
312
310
  flush(isAsync?: boolean, callBack?: (flushComplete?: boolean) => void, sendReason?: SendRequestReason, cbTimeout?: number): boolean | void;
313
311
  // (undocumented)
@@ -319,11 +317,10 @@ export interface IAppInsightsCore extends IPerfManagerProvider {
319
317
  getTraceCtx(createNew?: boolean): IDistributedTraceContext | null;
320
318
  getWParam: () => number;
321
319
  // (undocumented)
322
- initialize(config: IConfiguration, extensions: IPlugin[], logger?: IDiagnosticLogger, notificationManager?: INotificationManager): void;
320
+ initialize(config: CfgType, extensions: IPlugin[], logger?: IDiagnosticLogger, notificationManager?: INotificationManager): void;
323
321
  isInitialized?: () => boolean;
324
- // (undocumented)
325
- logger: IDiagnosticLogger;
326
- onCfgChange<T extends IConfiguration = IConfiguration>(handler: WatcherFunction<T>): IUnloadHook;
322
+ readonly logger: IDiagnosticLogger;
323
+ onCfgChange(handler: WatcherFunction<CfgType>): IUnloadHook;
327
324
  readonly pluginVersionString: string;
328
325
  readonly pluginVersionStringArr: string[];
329
326
  // (undocumented)
@@ -336,7 +333,7 @@ export interface IAppInsightsCore extends IPerfManagerProvider {
336
333
  // (undocumented)
337
334
  track(telemetryItem: ITelemetryItem): void;
338
335
  unload(isAsync?: boolean, unloadComplete?: (unloadState: ITelemetryUnloadState) => void, cbTimeout?: number): void;
339
- updateCfg<T extends IConfiguration = IConfiguration>(newConfig: T, mergeExisting?: boolean): void;
336
+ updateCfg(newConfig: CfgType, mergeExisting?: boolean): void;
340
337
  }
341
338
 
342
339
  // @public