Skip to content

Commit

Permalink
chore: update patch for typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
sosukesuzuki committed Nov 2, 2022
1 parent 7e68835 commit 2b3bbcd
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions patches/typescript+4.9.1-beta.patch
@@ -1,5 +1,5 @@
diff --git a/node_modules/typescript/lib/typescript.d.ts b/node_modules/typescript/lib/typescript.d.ts
index 0e6b255..92d7cf6 100644
index 0e6b255..f0a588c 100644
--- a/node_modules/typescript/lib/typescript.d.ts
+++ b/node_modules/typescript/lib/typescript.d.ts
@@ -428,8 +428,8 @@ declare namespace ts {
Expand All @@ -12,7 +12,21 @@ index 0e6b255..92d7cf6 100644
JSDocComment = 323,
JSDocText = 324,
JSDocTypeLiteral = 325,
@@ -4857,7 +4857,13 @@ declare namespace ts {
@@ -4395,7 +4395,13 @@ declare namespace ts {
function symbolName(symbol: Symbol): string;
function getNameOfJSDocTypedef(declaration: JSDocTypedefTag): Identifier | PrivateIdentifier | undefined;
function getNameOfDeclaration(declaration: Declaration | Expression | undefined): DeclarationName | undefined;
+ /**
+ * @deprecated don't use this directly as it does not exist pre-4.8; instead use getModifiers from `@typescript-eslint/type-utils`.
+ */
function getDecorators(node: HasDecorators): readonly Decorator[] | undefined;
+ /**
+ * @deprecated don't use this directly as it does not exist pre-4.8; instead use getDecorators from `@typescript-eslint/type-utils`.
+ */
function getModifiers(node: HasModifiers): readonly Modifier[] | undefined;
/**
* Gets the JSDoc parameter tags for the node if present.
@@ -4857,7 +4863,13 @@ declare namespace ts {
}
declare namespace ts {
function setTextRange<T extends TextRange>(range: T, location: TextRange | undefined): T;
Expand All @@ -26,7 +40,7 @@ index 0e6b255..92d7cf6 100644
function canHaveDecorators(node: Node): node is HasDecorators;
}
declare namespace ts {
@@ -7951,7 +7957,7 @@ declare namespace ts {
@@ -7951,7 +7963,7 @@ declare namespace ts {
* const decorators = ts.canHaveDecorators(node) ? ts.getDecorators(node) : undefined;
* ```
*/
Expand Down

0 comments on commit 2b3bbcd

Please sign in to comment.