docs(test-parameterize): defineConfig is no type import (#21523)

https://github.com/microsoft/playwright/issues/21519
This commit is contained in:
Max Schmitt 2023-03-09 16:19:56 +01:00 committed by GitHub
parent 45a97bb4f7
commit 2aeebc82d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -107,10 +107,10 @@ module.exports = defineConfig({
```js tab=js-ts
// playwright.config.ts
import type { defineConfig } from '@playwright/test';
import { TestOptions } from './my-test';
import { defineConfig } from '@playwright/test';
import type { TestOptions } from './my-test';
export default defineConfig({
export default defineConfig<TestOptions>({
projects: [
{
name: 'alice',