Skip to content

Commit

Permalink
Fix some typescript project settings affecting local dev
Browse files Browse the repository at this point in the history
  • Loading branch information
jpellizzari committed Sep 7, 2023
1 parent 177d822 commit ac9c61b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
"jsx": "react-jsx"
},
"include": [
"src"
"ui"
]
}
6 changes: 3 additions & 3 deletions ui/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ import {
AppContextProvider,
AuthCheck,
AuthContextProvider,
coreClient,
CoreClientContextProvider,
LinkResolverProvider,
Pendo,
SignIn,
ThemeTypes,
coreClient,
theme,
ThemeTypes,
} from '@weaveworks/weave-gitops';
import React, { ReactNode } from 'react';
import {
Expand All @@ -24,7 +24,7 @@ import {
import { BrowserRouter, Route, Switch } from 'react-router-dom';
import { ToastContainer } from 'react-toastify';
import 'react-toastify/dist/ReactToastify.css';
import { ThemeProvider, createGlobalStyle } from 'styled-components';
import { createGlobalStyle, ThemeProvider } from 'styled-components';
import { Pipelines } from './api/pipelines/pipelines.pb';
import { Query } from './api/query/query.pb';
import { Terraform } from './api/terraform/terraform.pb';
Expand Down
6 changes: 6 additions & 0 deletions ui/src/svg.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
declare module '*.svg' {
import React = require('react');
export const ReactComponent: React.ElementType<React.SVGProps>;
const src: string;
export default src;
}

0 comments on commit ac9c61b

Please sign in to comment.