use node's native fetch, add ensureLicense flag and update snapshots (#28279)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
343746c4b6
Коммит
073e2cecaa
@@ -22,6 +22,7 @@ export type Options = {
|
||||
body?: any;
|
||||
signal?: RequestInit['signal'];
|
||||
ignoreStatus?: boolean; /** If true, status codes > 300 are ignored and don't cause an error */
|
||||
duplex?: 'half'; /** Optional, but required for node clients. Must be 'half' for half-duplex fetch; 'full' is reserved for future use. See https://fetch.spec.whatwg.org/#dom-requestinit-duplex */
|
||||
};
|
||||
|
||||
export type StatusOK = {
|
||||
|
||||
Ссылка в новой задаче
Block a user