Skip to content

Commit

Permalink
add core to iplugin (#1884)
Browse files Browse the repository at this point in the history
  • Loading branch information
Karlie-777 authored and MSNev committed Aug 17, 2022
1 parent 4295250 commit 3e9b600
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,11 @@ export interface IPlugin {
* Plugin version (available in data.properties.version in common schema)
*/
readonly version?: string;

/**
* The App Insights core to use for backward compatibility.
* Therefore the interface will be able to access the core without needing to cast to "any".
* [optional] any 3rd party plugins which are already implementing this interface don't fail to compile.
*/
core?: IAppInsightsCore
}

0 comments on commit 3e9b600

Please sign in to comment.