Skip to content

Commit

Permalink
fix(deps): update devdependency typescript to ^5.3.2 (#820)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Rafal Chlodnicki <rchl2k@gmail.com>
  • Loading branch information
renovate[bot] and rchl committed Nov 26, 2023
1 parent c1c2d25 commit 5eeb20c
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 6 deletions.
2 changes: 2 additions & 0 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ Specifies preferences for the internal `tsserver` process. Those options depend

**displayPartsForJSDoc** [boolean] **Default**: `true`

**excludeLibrarySymbolsInNavTo** [boolean] **Default**: `true`

**generateReturnInDocTemplate** [boolean] **Default**: `true`

**includeInlayParameterNameHints** [string] Supported values: `'none'`, `'literals'`, `'all'`. **Default**: `'none'`
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"tslib": "^2.6.2",
"typescript": "^5.2.2",
"typescript": "^5.3.2",
"vscode-jsonrpc": "^8.2.0",
"vscode-languageserver": "^9.0.1",
"vscode-languageserver-protocol": "^3.17.5",
Expand Down
1 change: 1 addition & 0 deletions src/features/fileConfigurationManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const DEFAULT_TSSERVER_PREFERENCES: Required<ts.server.protocol.UserPreferences>
disableLineTextInReferences: true,
disableSuggestions: false,
displayPartsForJSDoc: true,
excludeLibrarySymbolsInNavTo: true,
generateReturnInDocTemplate: true,
importModuleSpecifierEnding: 'auto',
importModuleSpecifierPreference: 'shortest',
Expand Down
5 changes: 4 additions & 1 deletion src/lsp-server.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2274,7 +2274,10 @@ describe('inlayHints', () => {
expect(inlayHints).toBeDefined();
expect(inlayHints).toHaveLength(1);
expect(inlayHints![0]).toMatchObject({
label: ': number',
label: [
{ value: ': ' },
{ value: 'number' },
],
position: { line: 1, character: 29 },
kind: lsp.InlayHintKind.Type,
paddingLeft: true,
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4348,10 +4348,10 @@ type-fest@^2.12.2:
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-2.19.0.tgz#88068015bb33036a598b952e55e9311a60fd3a9b"
integrity sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==

typescript@^5.2.2:
version "5.2.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.2.2.tgz#5ebb5e5a5b75f085f22bc3f8460fba308310fa78"
integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==
typescript@^5.3.2:
version "5.3.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.3.2.tgz#00d1c7c1c46928c5845c1ee8d0cc2791031d4c43"
integrity sha512-6l+RyNy7oAHDfxC4FzSJcz9vnjTKxrLpDG5M2Vu4SHRVNg6xzqZp6LYSR9zjqQTu8DU/f5xwxUdADOkbrIX2gQ==

undici-types@~5.26.4:
version "5.26.5"
Expand Down

0 comments on commit 5eeb20c

Please sign in to comment.