Commit c2f0c58
add types for escape and unescape methods microsoft#18813 (microsoft#19015)
* add types for escape and unescape methods microsoft#18813
although the issue is marked working as expected, it is important to mention that most major browsers maintain support for escape and unescape, and some javascript codebases moving to typescript may have escape and unescape in them. They are valid JavaScript, and thus they should be included in the global definition.
* add escape and unescape types to lib in tests
* update tests to turn CI green1 parent e7df832 commit c2f0c58Copy full SHA for c2f0c58
5 files changed
+847-823Lines changed: 847 additions & 823 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- src/lib
- tests
- cases/fourslash
- lib
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+12Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
62 | 62 | |
63 | 63 | |
64 | 64 | |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | + |
| 76 | + |
65 | 77 | |
66 | 78 | |
67 | 79 | |
|
Collapse file
tests/cases/fourslash/completionInJSDocFunctionNew.ts
Copy file name to clipboardExpand all lines: tests/cases/fourslash/completionInJSDocFunctionNew.ts+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
6 | 6 | |
7 | 7 | |
8 | 8 | |
9 | | - |
| 9 | + |
10 | 10 | |
Collapse file
tests/cases/fourslash/completionInJSDocFunctionThis.ts
Copy file name to clipboardExpand all lines: tests/cases/fourslash/completionInJSDocFunctionThis.ts+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
5 | 5 | |
6 | 6 | |
7 | 7 | |
8 | | - |
| 8 | + |
9 | 9 | |
10 | 10 | |
Collapse file
tests/cases/fourslash/tsxCompletionOnOpeningTagWithoutJSX1.ts
Copy file name to clipboardExpand all lines: tests/cases/fourslash/tsxCompletionOnOpeningTagWithoutJSX1.ts+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
4 | 4 | |
5 | 5 | |
6 | 6 | |
7 | | - |
| 7 | + |
0 commit comments