Skip to content

Commit

Permalink
WIP linting
Browse files Browse the repository at this point in the history
  • Loading branch information
seancolsen committed Nov 21, 2023
1 parent b21b43a commit 2cf2a56
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions mathesar_ui/src/component-library/render/Render.svelte
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
<script lang="ts">
import type { SvelteComponent } from 'svelte';
import type { ComponentWithProps } from '../types';
type T = $$Generic<SvelteComponent>;
export let componentWithProps: ComponentWithProps<T>;
// I'm not sure how to fix the use of `any` here. Suggestions welcome!
// eslint-disable-next-line @typescript-eslint/no-explicit-any
$: component = componentWithProps.component as any;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
$: props = componentWithProps.props as any;
</script>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
This component replaces `StringOrComponent` (which is deprecated)
-->
<script lang="ts">
import type { SvelteComponent } from 'svelte';
import type { ComponentWithProps } from '@mathesar-component-library-dir/types';
import Render from '../render/Render.svelte';
Expand Down
2 changes: 1 addition & 1 deletion mathesar_ui/src/i18n/languages/en/dict.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@
"use_existing_pg_user": "Use an existing PostgreSQL user",
"user_name": "User name",
"user_type": "User type"
}
}

0 comments on commit 2cf2a56

Please sign in to comment.