Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
bholmesdev committed Jul 28, 2024
1 parent ee56cf0 commit 06f373c
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions packages/query/e2e/basic.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { test, expect } from "@playwright/test";
import { preview, type PreviewServer } from "astro";
import { expect, test } from "@playwright/test";
import { type PreviewServer, preview } from "astro";
import { generatePort } from "./utils";

const fixtureRoot = new URL("../fixtures/basic", import.meta.url).pathname;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
type Props = {
scope: typeof import('simple:scope').scope;
scope: typeof import("simple:scope").scope;
};
const { scope } = Astro.props;
Expand Down
4 changes: 2 additions & 2 deletions packages/query/fixtures/basic/src/pages/scope-prop.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
import { scope } from 'simple:scope';
import WithContext from '../components/WithContext.astro';
import { scope } from "simple:scope";
import WithContext from "../components/WithContext.astro";
---

<h1 data-target="heading">Scope prop</h1>
Expand Down
2 changes: 1 addition & 1 deletion packages/query/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/// <reference path="../ambient.d.ts" />

import { createRequire } from "node:module";
import type { AstroConfig, AstroIntegration } from "astro";
import vitePluginSimpleScope from "vite-plugin-simple-scope";
import { createRequire } from "node:module";

type VitePlugin = Required<AstroConfig["vite"]>["plugins"][number];

Expand Down
4 changes: 2 additions & 2 deletions packages/query/src/internal.server.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { type scope as scopeFn } from "simple:scope";
import {
createComponent,
renderComponent,
render,
renderComponent,
} from "astro/runtime/server/index.js";
import { type scope as scopeFn } from "simple:scope";

export const createRootElement = (scope: typeof scopeFn) =>
createComponent({
Expand Down
2 changes: 1 addition & 1 deletion packages/query/src/internal.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { scope as scopeFn } from "simple:scope";
import type {
MaybePromise,
CleanupCallback,
MaybePromise,
effect as effectFn,
} from "./effect.js";

Expand Down

0 comments on commit 06f373c

Please sign in to comment.