Repository navigation
To fix #2583 - #44
To fix #2583#44York Yao (plantain-00) wants to merge 8 commits into
Conversation
|
Hi York Yao (@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 |
|
Zhengbo Li (@zhengbli) ideas? |
|
This is because an issue in the script. Because the |
|
York Yao (@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. |
There was a problem hiding this comment.
these should be added on a new interface URLConstructor, and var URL: URLConstructor
|
Error appears when run |
|
thanks. Vladimir Matveev (@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?