Skip to content

Commit

Permalink
Update TypeScript to 5.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
rictic committed Sep 17, 2024
1 parent b6ccfd9 commit 4b1560b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@
"rollup-plugin-copy": "^3.3.0",
"rollup-plugin-lit-css": "^4.0.0",
"semver": "^7.3.5",
"typescript": "~5.4.5",
"typescript": "~5.6.2",
"wireit": "^0.14.0"
},
"dependencies": {
Expand Down
6 changes: 3 additions & 3 deletions src/playground-code-editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ interface TypedMap<T> extends Map<keyof T, unknown> {
get<K extends keyof T>(key: K): T[K];
set<K extends keyof T>(key: K, value: T[K]): this;
delete<K extends keyof T>(key: K): boolean;
keys(): IterableIterator<keyof T>;
values(): IterableIterator<T[keyof T]>;
entries(): IterableIterator<{[K in keyof T]: [K, T[K]]}[keyof T]>;
keys(): MapIterator<keyof T>;
values(): MapIterator<T[keyof T]>;
entries(): MapIterator<{[K in keyof T]: [K, T[K]]}[keyof T]>;
}

export interface CodeEditorHint {
Expand Down
4 changes: 2 additions & 2 deletions src/test/typescript-worker_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ suite('typescript builder', () => {
name: 'index.js',
// TODO(aomarks) This should probably return a 400 error instead of an
// empty but valid file.
content: 'export {};\n',
content: '',
contentType: 'text/javascript',
},
},
Expand Down Expand Up @@ -132,7 +132,7 @@ suite('typescript builder', () => {
kind: 'file',
file: {
name: 'index.js',
content: 'let foo = 3;\n' + 'foo = "foo";\nexport {};\n',
content: 'let foo = 3;\n' + 'foo = "foo";\n',
contentType: 'text/javascript',
},
},
Expand Down

0 comments on commit 4b1560b

Please sign in to comment.