Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions packages/integrations/src/vue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,9 @@ export class Vue implements Integration {
/**
* @inheritDoc
*/
public constructor(options: Partial<IntegrationOptions>) {
public constructor(
options: Partial<Omit<IntegrationOptions, 'tracingOptions'> & { tracingOptions: Partial<TracingOptions> }>,
) {
this._options = {
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
Vue: getGlobalObject<any>().Vue,
Expand Down Expand Up @@ -313,7 +315,7 @@ export class Vue implements Integration {
}
};

// Each compomnent has it's own scope, so all activities are only related to one of them
// Each component has it's own scope, so all activities are only related to one of them
this._options.tracingOptions.hooks.forEach(operation => {
// Retrieve corresponding hooks from Vue lifecycle.
// eg. mount => ['beforeMount', 'mounted']
Expand Down