Skip to content

Commit

Permalink
chore: Update to TypeScript 5.5.2 (#5792)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason3S committed Jun 20, 2024
1 parent e6ae47e commit da6d0a7
Show file tree
Hide file tree
Showing 5 changed files with 210 additions and 73 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
"ts-node": "^10.9.2",
"ts2mjs": "^3.0.0",
"tslib": "^2.6.3",
"typescript": "^5.4.5",
"typescript": "^5.5.2",
"typescript-eslint": "^7.13.1",
"vite": "^5.3.1",
"vitest": "^1.6.0"
Expand Down
1 change: 0 additions & 1 deletion packages/cspell-lib/api/api.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/// <reference types="node" />
import { Glob, AdvancedCSpellSettingsWithSourceTrace, Parser, DictionaryDefinitionInline, DictionaryDefinitionPreferred, DictionaryDefinitionAugmented, DictionaryDefinitionCustom, CSpellUserSettings, ImportFileRef, PnPSettings, CSpellSettingsWithSourceTrace, TextOffset, Issue, LocaleId, CSpellSettings, MappedText, ParsedText, TextDocumentOffset } from '@cspell/cspell-types';
export * from '@cspell/cspell-types';
import * as cspell_io from 'cspell-io';
Expand Down
2 changes: 1 addition & 1 deletion packages/cspell-lib/src/lib/Settings/RegExpPatterns.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const regExString = /(?:(['"]).*?(?<![^\\]\\(\\\\)*)\1)|(?:`[\s\S]*?(?<![

// Note: the C Style Comments incorrectly considers '/*' and '//' inside of strings as comments.
export const regExCStyleComments = /(?<!\w:)(?:\/\/.*)|(?:\/\*[\s\S]*?\*\/)/g;
export const rexExPythonStyleComments = /#.*|(?:('''|""")[^\1]+?\1)/gm;
export const rexExPythonStyleComments = /#.*|(?:('''|""")[\s\S]+?\1)/gm;

export const regExEmail = /<?\b[\w.\-+]{1,128}@\w{1,63}(\.\w{1,63}){1,4}\b>?/gi;

Expand Down
1 change: 0 additions & 1 deletion packages/cspell-trie-lib/api/api.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/// <reference types="node" />
import { SuggestionCostMapDef, DictionaryDefinitionAugmented } from '@cspell/cspell-types';
export { SuggestionCostMapDef } from '@cspell/cspell-types';
import { Operator } from '@cspell/cspell-pipe/sync';
Expand Down
Loading

0 comments on commit da6d0a7

Please sign in to comment.