Skip to content

Commit

Permalink
updated tsconfig to latest standards
Browse files Browse the repository at this point in the history
  • Loading branch information
srclosson committed Oct 22, 2024
1 parent 496039e commit ae45f42
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
3 changes: 1 addition & 2 deletions src/Components/QueryLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@ import {
DataQuery,
LoadingState,
} from '@grafana/data';
import { Button, LegacyForms, stylesFactory } from '@grafana/ui';
import { Button, LegacyForms, stylesFactory, DataSourcePicker } from '@grafana/ui';
import { getLegacyAngularInjector, getDataSourceSrv } from '@grafana/runtime';
const { FormField } = LegacyForms;
import { QueryLink } from '../types';
import { DataSourcePicker } from 'ui-enterprise';

const getStyles = stylesFactory(() => ({
firstRow: css`
Expand Down
1 change: 0 additions & 1 deletion src/types.d.ts
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
declare module 'replace-in-file-webpack-plugin';
9 changes: 3 additions & 6 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
{
"extends": "./node_modules/@grafana/toolkit/src/config/tsconfig.plugin.json",
"include": ["src", "types", "./types.d.ts"],
"extends": "./.config/tsconfig.json",
"exclude": ["src/**/*.test.ts", "src/**/*.test.tsx", "src/**/*.spec.ts", "src/**/*.spec.tsx"],
"compilerOptions": {
"rootDir": "./src",
"baseUrl": "./src",
"typeRoots": ["./node_modules/@types"],
"noImplicitAny": false,
"typeRoots": ["./node_modules/@types", "./../../node_modules/@types"]
}
}

0 comments on commit ae45f42

Please sign in to comment.