mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
Merge pull request #24701 from DefinitelyTyped/feat-typo
Fix typo in #24560
This commit is contained in:
@@ -51,8 +51,8 @@ promise2 = d3Fetch.tsv<MyType>(url, parseRow);
|
||||
promise2 = d3Fetch.tsv<MyType>(url, init, parseRow);
|
||||
|
||||
let docPromise: Promise<Document>;
|
||||
docPromise = d3Fetch.hmtl(url);
|
||||
docPromise = d3Fetch.hmtl(url, init);
|
||||
docPromise = d3Fetch.html(url);
|
||||
docPromise = d3Fetch.html(url, init);
|
||||
|
||||
docPromise = d3Fetch.svg(url);
|
||||
docPromise = d3Fetch.svg(url, init);
|
||||
|
||||
Vendored
+1
-1
@@ -154,7 +154,7 @@ export function dsv<ParsedRow extends DSVRowAny>(
|
||||
* @param url A valid URL string.
|
||||
* @param init An optional request initialization object.
|
||||
*/
|
||||
export function hmtl(url: string, init?: RequestInit): Promise<Document>;
|
||||
export function html(url: string, init?: RequestInit): Promise<Document>;
|
||||
|
||||
/**
|
||||
* Fetches the image at the specified input URL and returns a promise of an HTML image element.
|
||||
|
||||
Reference in New Issue
Block a user