Skip to content

Commit

Permalink
chore: banning ts imports
Browse files Browse the repository at this point in the history
  • Loading branch information
benfdking committed Jun 17, 2024
1 parent 86f9a02 commit f0356d5
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import React, { useState } from 'react'
import { PencilSquareIcon, PlayIcon, PlusIcon } from '@heroicons/react/20/solid'
import { useCallBackFrontEnd } from '@shared/callBacks.ts'
import { useCallBackFrontEnd } from '@shared/callBacks'
import { z } from 'zod'
import { ChartFile } from '@quary/proto/quary/service/v1/chart_file'
import { vscode } from '@ui/utils/VSCodeAPIWrapper.ts'
import { vscode } from '@ui/utils/VSCodeAPIWrapper'

import {
Select,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import '@finos/perspective-viewer/dist/css/pro.css'
// eslint-disable-next-line no-duplicate-imports
import type { HTMLPerspectiveViewerElement } from '@finos/perspective-viewer'
import { QueryResult } from '@quary/proto/quary/service/v1/query_result'
import { dropNullValuesInJSONLike, JSONValue } from '@shared/jsonValue.ts'
import { dropNullValuesInJSONLike, JSONValue } from '@shared/jsonValue'

interface Props {
title?: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import {
ArrowPathIcon,
PlusCircleIcon,
} from '@heroicons/react/20/solid'
import { Table } from '@quary/proto/quary/service/v1/table.ts'
import { ColumnTest } from '@quary/proto/quary/service/v1/project_file.ts'
import { useCallBackFrontEnd } from '@shared/callBacks.ts'
import { codeToString } from '@shared/result.ts'
import { Table } from '@quary/proto/quary/service/v1/table'
import { ColumnTest } from '@quary/proto/quary/service/v1/project_file'
import { useCallBackFrontEnd } from '@shared/callBacks'
import { codeToString } from '@shared/result'
import { Button } from '@ui/components/ui/button'
import {
Dialog,
Expand Down
4 changes: 2 additions & 2 deletions js/packages/quary-extension-ui/src/views/ExecuteSQL.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import {
import { DownloadIcon } from '@radix-ui/react-icons'
import { useCallBackFrontEnd } from '@shared/callBacks'
import { SqlDocumentationResultsView } from '@shared/globalViewState'
import { codeToString } from '@shared/result.ts'
import { JSONStruct, JSONValue } from '@shared/jsonValue.ts'
import { codeToString } from '@shared/result'
import { JSONStruct, JSONValue } from '@shared/jsonValue'
import {
Tooltip,
TooltipContent,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { useMemo, useState } from 'react'
import { ImportSourcesViewState } from '@shared/globalViewState'
import { VSCodeBadge } from '@vscode/webview-ui-toolkit/react'
import Fuse from 'fuse.js'
import { ProjectFileSource } from '@quary/proto/quary/service/v1/project_file.ts'
import { ProjectFileSource } from '@quary/proto/quary/service/v1/project_file'
import { ProgressRing } from '@ui/components/ProgressRing'
import { Warning } from '@ui/components/Warning'
import {
Expand Down
2 changes: 1 addition & 1 deletion js/packages/quary-extension-ui/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

/* Bundler mode */
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"allowImportingTsExtensions": false,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
Expand Down

0 comments on commit f0356d5

Please sign in to comment.