Skip to content

Commit d249301

Browse files
authored
fix(utils): use exact import of DatabaseType (#3786)
1 parent ae56bdb commit d249301

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

eslint.config.mjs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@ export default defineConfig([
6868
},
6969

7070
rules: {
71+
'no-restricted-imports': [
72+
'error',
73+
{
74+
patterns: ['src/*'],
75+
},
76+
],
7177
'@typescript-eslint/no-empty-interface': [
7278
'error',
7379
{

src/utils/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { EventEmitter } from 'events';
1818
import * as semver from 'semver';
1919

2020
import { SpanKind, TelemetryAttributes } from '../enums';
21-
import { DatabaseType } from 'src/types';
21+
import { DatabaseType } from '../types';
2222

2323
export const errorObject: { [index: string]: any } = { value: null };
2424

0 commit comments

Comments
 (0)