update types
This commit is contained in:
parent
92dd99706d
commit
160e86a255
8
packages/playwright-core/types/types.d.ts
vendored
8
packages/playwright-core/types/types.d.ts
vendored
|
|
@ -15834,8 +15834,8 @@ export interface APIRequestContext {
|
||||||
* form.set('name', 'John');
|
* form.set('name', 'John');
|
||||||
* form.append('name', 'Doe');
|
* form.append('name', 'Doe');
|
||||||
* // Send two file fields with the same name.
|
* // Send two file fields with the same name.
|
||||||
* form.append('file', new File(['onsole.log(2024);'], 'f1.js', { type: 'text/javascript' }));
|
* form.append('file', new File(['console.log(2024);'], 'f1.js', { type: 'text/javascript' }));
|
||||||
* form.append('file', new File(['hello'], 'f2.js', { type: 'text/plain' }));
|
* form.append('file', new File(['hello'], 'f2.txt', { type: 'text/plain' }));
|
||||||
* await request.fetch('https://example.com/api/uploadForm', {
|
* await request.fetch('https://example.com/api/uploadForm', {
|
||||||
* multipart: form
|
* multipart: form
|
||||||
* });
|
* });
|
||||||
|
|
@ -16216,8 +16216,8 @@ export interface APIRequestContext {
|
||||||
* form.set('name', 'John');
|
* form.set('name', 'John');
|
||||||
* form.append('name', 'Doe');
|
* form.append('name', 'Doe');
|
||||||
* // Send two file fields with the same name.
|
* // Send two file fields with the same name.
|
||||||
* form.append('file', new File(['onsole.log(2024);'], 'f1.js', { type: 'text/javascript' }));
|
* form.append('file', new File(['console.log(2024);'], 'f1.js', { type: 'text/javascript' }));
|
||||||
* form.append('file', new File(['hello'], 'f2.js', { type: 'text/plain' }));
|
* form.append('file', new File(['hello'], 'f2.txt', { type: 'text/plain' }));
|
||||||
* await request.post('https://example.com/api/uploadForm', {
|
* await request.post('https://example.com/api/uploadForm', {
|
||||||
* multipart: form
|
* multipart: form
|
||||||
* });
|
* });
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue