Skip to content

Commit 5869237

Browse files
committed
fix imports
1 parent 0e55ce1 commit 5869237

4 files changed

Lines changed: 7 additions & 4 deletions

File tree

e2e/VList.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { test, expect, Locator, Page } from "@playwright/test";
1+
import { test, expect } from "@playwright/test";
2+
import type { Locator, Page } from "@playwright/test";
23
import {
34
storyUrl,
45
scrollToBottom,

e2e/WindowVirtualizer.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { test, expect, Page } from "@playwright/test";
1+
import { test, expect } from "@playwright/test";
2+
import type { Page } from "@playwright/test";
23
import {
34
storyUrl,
45
windowScrollToBottom,

e2e/utils.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { Locator, Page, expect } from "@playwright/test";
1+
import { expect } from "@playwright/test";
2+
import type { Locator, Page } from "@playwright/test";
23

34
export const storyUrl = (id: `${string}-${string}--${string}`) =>
45
`http://localhost:6006/iframe.html?id=${id}&viewMode=story`;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "lib/index.js",
66
"module": "lib/index.mjs",
77
"types": "lib/index.d.ts",
8-
"type": "commonjs",
8+
"type": "module",
99
"exports": {
1010
"./package.json": "./package.json",
1111
".": {

0 commit comments

Comments
 (0)