Skip to content

Commit 464c01b

Browse files
committed
fix imports
1 parent 89b48a7 commit 464c01b

File tree

6 files changed

+18
-10
lines changed

6 files changed

+18
-10
lines changed

experimental/instrumentation-otel-axios/src/instrumentation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
SEMATTRS_HTTP_URL,
1111
SEMATTRS_HTTP_USER_AGENT,
1212
} from '@opentelemetry/semantic-conventions';
13-
import { Axios, AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
13+
import { Axios, type AxiosInstance, type AxiosRequestConfig, type AxiosResponse } from 'axios';
1414

1515
import { AttributeNames } from './constants';
1616
import type { AxiosInstrumentationOptions } from './types';

packages/react-native-sdk/src/instrumentations/errors/registerOnunhandledrejection.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import { ExceptionStackFrame, isPrimitive } from '@grafana/faro-core';
2-
import type { API } from '@grafana/faro-core';
1+
import { type API, type ExceptionStackFrame, isPrimitive } from '@grafana/faro-core';
32

43
import { primitiveUnhandledType, primitiveUnhandledValue } from './const';
54
import { getErrorDetails } from './getErrorDetails';

packages/react-native-sdk/src/instrumentations/session/instrumentation.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import {
22
BaseInstrumentation,
3+
type Config,
34
dateNow,
45
EVENT_SESSION_EXTEND,
56
EVENT_SESSION_RESUME,
67
EVENT_SESSION_START,
7-
Meta,
8-
MetaSession,
8+
type Meta,
9+
type MetaSession,
910
VERSION,
1011
} from '@grafana/faro-core';
11-
import type { Config } from '@grafana/faro-core';
1212

1313
import type { TransportItem } from '../..';
1414
import { createSession } from '../../metas';

packages/react-native-sdk/src/instrumentations/view/instrumentation.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
import { BaseInstrumentation, EVENT_VIEW_CHANGED, Meta, MetaView, unknownString, VERSION } from '@grafana/faro-core';
1+
import {
2+
BaseInstrumentation,
3+
EVENT_VIEW_CHANGED,
4+
type Meta,
5+
type MetaView,
6+
unknownString,
7+
VERSION,
8+
} from '@grafana/faro-core';
29

310
// all this does is send VIEW_CHANGED event
411
export class ViewInstrumentation extends BaseInstrumentation {

packages/react-native-sdk/src/metas/browser/meta.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import { Dimensions, Platform } from 'react-native';
33
import { getBrand, getModel, getSystemVersion } from 'react-native-device-info';
44

5-
import { Meta, MetaItem } from '@grafana/faro-core';
5+
import type { Meta, MetaItem } from '@grafana/faro-core';
66

77
const { width, height } = Dimensions.get('window');
88

packages/react-native-sdk/src/transports/fetch/transport.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
import {
22
BaseExtension,
33
BaseTransport,
4+
type Config,
45
createPromiseBuffer,
56
getTransportBody,
67
noop,
7-
PromiseBuffer,
8+
type Patterns,
9+
type PromiseBuffer,
10+
type TransportItem,
811
VERSION,
912
} from '@grafana/faro-core';
10-
import type { Config, Patterns, TransportItem } from '@grafana/faro-core';
1113

1214
import { getSessionManagerByConfig } from '../../instrumentations/session/sessionManager';
1315
import { getUserSessionUpdater } from '../../instrumentations/session/sessionManager/sessionManagerUtils';

0 commit comments

Comments
 (0)