-
Notifications
You must be signed in to change notification settings - Fork 439
To fix #2583 #44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
To fix #2583 #44
Conversation
Hi @plantain-00, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution! The agreement was validated by Microsoft and real humans are currently evaluating your PR. TTYL, MSBOT; |
that is not the correct change. this adds a new type called the desired output is: interface URL{
hash: string;
search: string;
pathname: string;
port: string;
hostname: string;
host: string;
password: string;
username: string;
protocol: string;
origin: string;
href: string;
}
declare var URL: {
revokeObjectURL(url: string): void;
createObjectURL(object: any, options?: ObjectURLOptions): string;
new(url: string, base?: string): URL;
}; |
Did I miss something? Locally I added these into
I also put these into
|
@zhengbli ideas? |
This is because an issue in the script. Because the |
@plantain-00 Now adding the content to |
fetch latest code
Conflicts: inputfiles/addedTypes.json
Conflicts: inputfiles/addedTypes.json inputfiles/overridingTypes.json inputfiles/removedTypes.json
The tests fails, but Also I have no idea how to change the type of variable {
revokeObjectURL(url: string): void;
createObjectURL(object: any, options?: ObjectURLOptions): string;
new(url: string, base?: string): URL;
} I tried to add the following into {
"kind": "property",
"name": "URL",
"type": "any"
} So need help. |
@@ -21,6 +21,16 @@ | |||
}, | |||
{ | |||
"kind": "method", | |||
"interface": "URL", | |||
"name": "createObjectURL" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these should be added on a new interface URLConstructor
, and var URL: URLConstructor
Error appears when run
|
thanks. @vladima is fixing this. |
Can not rerun the failed build, so restart a new one at #58 |
microsoft/TypeScript#2583
It seems the constructor of interface URL is not generated, is this a bug?