Title: The signature for document.implementation.hasFeature is incorrect · Issue #14062 · microsoft/TypeScript · GitHub
Open Graph Title: The signature for document.implementation.hasFeature is incorrect · Issue #14062 · microsoft/TypeScript
X Title: The signature for document.implementation.hasFeature is incorrect · Issue #14062 · microsoft/TypeScript
Description: TypeScript Version: nightly (2.2.0-dev.20170213) Code document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure", "1.1"); Expected behavior: It should not emit an error. Actual behavior: The following error is...
Open Graph Description: TypeScript Version: nightly (2.2.0-dev.20170213) Code document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure", "1.1"); Expected behavior: It should not emit an error....
X Description: TypeScript Version: nightly (2.2.0-dev.20170213) Code document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure", "1.1"); Expected behavior: It shoul...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/14062
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"The signature for document.implementation.hasFeature is incorrect","articleBody":"\u003c!-- BUGS: Please use this template. -->\r\n\u003c!-- QUESTIONS: This is not a general support forum! Ask Qs at http://stackoverflow.com/questions/tagged/typescript -->\r\n\u003c!-- SUGGESTIONS: See https://github.com/Microsoft/TypeScript-wiki/blob/master/Writing-Good-Design-Proposals.md -->\r\n\r\n**TypeScript Version:** nightly (2.2.0-dev.20170213)\r\n\r\n**Code**\r\n\r\n```ts\r\ndocument.implementation.hasFeature(\"http://www.w3.org/TR/SVG11/feature#BasicStructure\", \"1.1\");\r\n```\r\n\r\n**Expected behavior:**\r\n\r\nIt should not emit an error.\r\n\r\n**Actual behavior:**\r\n\r\nThe following error is emitted:\r\n\r\n```\r\ntest.ts(1,1): error TS2346: Supplied parameters do not match any signature of call target.\r\n```\r\n\r\nThe function is deprecated so this error actually helped me realize that the code was using a deprecated function but I guess it should work :)","author":{"url":"https://github.com/argelius","@type":"Person","name":"argelius"},"datePublished":"2017-02-14T07:37:47Z","url":"https://github.com/microsoft/TypeScript/issues/14062"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7cbdebcd-f408-89d6-8dd7-786f558aa4a9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 86D4:2A5566:B56D35:EE4524:6B01BD2B |
| html-safe-nonce | 738b8c37ab54700a84c2edc2d1c71a848906f76bb4bb9119417ba3c7ec35bf33 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NkQ0OjJBNTU2NjpCNTZEMzU6RUU0NTI0OjZCMDFCRDJCIiwidmlzaXRvcl9pZCI6IjMwODY4MzA5NDM0NjY1MzYyMzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 927f7e4ed09f35309a5a507f36dfaa7d1549d0388e0f384d9cadd27a33e9d1af |
| hovercard-subject-tag | issue:207439594 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/14062/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c37b82e0f5d9f14cf3994461aa786c8d404d7979410293a08ab63bbab3048b68/microsoft/TypeScript/issues/14062 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c37b82e0f5d9f14cf3994461aa786c8d404d7979410293a08ab63bbab3048b68/microsoft/TypeScript/issues/14062 |
| og:image:alt | TypeScript Version: nightly (2.2.0-dev.20170213) Code document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure", "1.1"); Expected behavior: It should not emit an error.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | argelius |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width