Skip to content

Commit

Permalink
docs: improve gramma
Browse files Browse the repository at this point in the history
  • Loading branch information
RebeccaStevens committed Mar 20, 2023
1 parent c340d70 commit a51f0e3
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
18 changes: 9 additions & 9 deletions src/nodes/typeGuards/single.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export function isAssertKeyword(node: ts.Node): node is ts.AssertKeyword {
/**
* Test if a node is an `AssertsKeyword`.
*
* @deprecated With TypeScript v5 in favor of typescript's `isAssertsKeyword`.
* @deprecated With TypeScript v5, in favor of typescript's `isAssertsKeyword`.
* @category Nodes - Type Guards
* @example
* ```ts
Expand Down Expand Up @@ -237,7 +237,7 @@ export function isAsyncKeyword(node: ts.Node): node is ts.AsyncKeyword {
/**
* Test if a node is an `AwaitKeyword`.
*
* @deprecated With TypeScript v5 in favor of typescript's `isAwaitKeyword`.
* @deprecated With TypeScript v5, in favor of typescript's `isAwaitKeyword`.
* @category Nodes - Type Guards
* @example
* ```ts
Expand All @@ -257,7 +257,7 @@ export function isAwaitKeyword(node: ts.Node): node is ts.AwaitKeyword {
/**
* Test if a node is a {@link BigIntKeyword}.
*
* @deprecated With TypeScript v5 in favor of typescript's `isBigIntKeyword`.
* @deprecated With TypeScript v5, in favor of typescript's `isBigIntKeyword`.
* @category Nodes - Type Guards
* @example
* ```ts
Expand All @@ -277,7 +277,7 @@ export function isBigIntKeyword(node: ts.Node): node is BigIntKeyword {
/**
* Test if a node is a {@link BooleanKeyword}.
*
* @deprecated With TypeScript v5 in favor of typescript's `isBooleanKeyword`.
* @deprecated With TypeScript v5, in favor of typescript's `isBooleanKeyword`.
* @category Nodes - Type Guards
* @example
* ```ts
Expand All @@ -297,7 +297,7 @@ export function isBooleanKeyword(node: ts.Node): node is BooleanKeyword {
/**
* Test if a node is a `ColonToken`.
*
* @deprecated With TypeScript v5 in favor of typescript's `isColonToken`.
* @deprecated With TypeScript v5, in favor of typescript's `isColonToken`.
* @category Nodes - Type Guards
* @example
* ```ts
Expand Down Expand Up @@ -412,7 +412,7 @@ export function isEndOfFileToken(node: ts.Node): node is ts.EndOfFileToken {
/**
* Test if a node is an `EqualsGreaterThanToken`.
*
* @deprecated With TypeScript v5 in favor of typescript's `isEqualsGreaterThanToken`.
* @deprecated With TypeScript v5, in favor of typescript's `isEqualsGreaterThanToken`.
* @category Nodes - Type Guards
* @example
* ```ts
Expand Down Expand Up @@ -453,7 +453,7 @@ export function isEqualsToken(node: ts.Node): node is ts.EqualsToken {
/**
* Test if a node is an `ExclamationToken`.
*
* @deprecated With TypeScript v5 in favor of typescript's `isExclamationToken`.
* @deprecated With TypeScript v5, in favor of typescript's `isExclamationToken`.
* @category Nodes - Type Guards
* @example
* ```ts
Expand Down Expand Up @@ -839,7 +839,7 @@ export function isPublicKeyword(node: ts.Node): node is ts.PublicKeyword {
/**
* Test if a node is a `QuestionDotToken`.
*
* @deprecated With TypeScript v5 in favor of typescript's `isQuestionDotToken`.
* @deprecated With TypeScript v5, in favor of typescript's `isQuestionDotToken`.
* @category Nodes - Type Guards
* @example
* ```ts
Expand All @@ -859,7 +859,7 @@ export function isQuestionDotToken(node: ts.Node): node is ts.QuestionDotToken {
/**
* Test if a node is a `QuestionToken`.
*
* @deprecated With TypeScript v5 in favor of typescript's `isQuestionToken`.
* @deprecated With TypeScript v5, in favor of typescript's `isQuestionToken`.
* @category Nodes - Type Guards
* @example
* ```ts
Expand Down
22 changes: 11 additions & 11 deletions src/nodes/typeGuards/union.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export function isAccessibilityModifier(
/**
* Test if a node is an `AccessorDeclaration`.
*
* @deprecated With TypeScript v5 in favor of typescript's `isAccessor`.
* @deprecated With TypeScript v5, in favor of typescript's `isAccessor`.
* @category Nodes - Type Guards
* @example
* ```ts
Expand All @@ -94,7 +94,7 @@ export function isAccessorDeclaration(
/**
* Test if a node is an `ArrayBindingElement`.
*
* @deprecated With TypeScript v5 in favor of typescript's `isArrayBindingElement`.
* @deprecated With TypeScript v5, in favor of typescript's `isArrayBindingElement`.
* @category Nodes - Type Guards
* @example
* ```ts
Expand Down Expand Up @@ -302,7 +302,7 @@ export function isBooleanLiteral(node: ts.Node): node is ts.BooleanLiteral {
/**
* Test if a node is a `ClassLikeDeclaration`.
*
* @deprecated With TypeScript v5 in favor of typescript's `isClassLike`.
* @deprecated With TypeScript v5, in favor of typescript's `isClassLike`.
* @category Nodes - Type Guards
* @example
* ```ts
Expand Down Expand Up @@ -520,7 +520,7 @@ export function isForInOrOfStatement(
/**
* Test if a node is a `FunctionLikeDeclaration`.
*
* @deprecated With TypeScript v5 in favor of typescript's `isFunctionLike`.
* @deprecated With TypeScript v5, in favor of typescript's `isFunctionLike`.
* @category Nodes - Type Guards
* @example
* ```ts
Expand Down Expand Up @@ -941,7 +941,7 @@ export function isJsonObjectExpression(
/**
* Test if a node is a `JsxAttributeLike`.
*
* @deprecated With TypeScript v5 in favor of typescript's `isJsxAttributeLike`.
* @deprecated With TypeScript v5, in favor of typescript's `isJsxAttributeLike`.
* @category Nodes - Type Guards
* @example
* ```ts
Expand Down Expand Up @@ -988,7 +988,7 @@ export function isJsxAttributeValue(
/**
* Test if a node is a `JsxChild`.
*
* @deprecated With TypeScript v5 in favor of typescript's `isJsxChild`.
* @deprecated With TypeScript v5, in favor of typescript's `isJsxChild`.
* @category Nodes - Type Guards
* @example
* ```ts
Expand All @@ -1014,7 +1014,7 @@ export function isJsxChild(node: ts.Node): node is ts.JsxChild {
/**
* Test if a node is a `JsxTagNameExpression`.
*
* @deprecated With TypeScript v5 in favor of typescript's `isJsxTagNameExpression`.
* @deprecated With TypeScript v5, in favor of typescript's `isJsxTagNameExpression`.
* @category Nodes - Type Guards
* @example
* ```ts
Expand Down Expand Up @@ -1066,7 +1066,7 @@ export function isLiteralToken(node: ts.Node): node is ts.LiteralToken {
/**
* Test if a node is a `ModuleBody`.
*
* @deprecated With TypeScript v5 in favor of typescript's `isModuleBody`.
* @deprecated With TypeScript v5, in favor of typescript's `isModuleBody`.
* @category Nodes - Type Guards
* @example
* ```ts
Expand All @@ -1086,7 +1086,7 @@ export function isModuleBody(node: ts.Node): node is ts.ModuleBody {
/**
* Test if a node is a `ModuleName`.
*
* @deprecated With TypeScript v5 in favor of typescript's `isModuleName`.
* @deprecated With TypeScript v5, in favor of typescript's `isModuleName`.
* @category Nodes - Type Guards
* @example
* ```ts
Expand All @@ -1106,7 +1106,7 @@ export function isModuleName(node: ts.Node): node is ts.ModuleName {
/**
* Test if a node is a `ModuleReference`.
*
* @deprecated With TypeScript v5 in favor of typescript's `isModuleReference`.
* @deprecated With TypeScript v5, in favor of typescript's `isModuleReference`.
* @category Nodes - Type Guards
* @example
* ```ts
Expand All @@ -1126,7 +1126,7 @@ export function isModuleReference(node: ts.Node): node is ts.ModuleReference {
/**
* Test if a node is a `NamedImportBindings`.
*
* @deprecated With TypeScript v5 in favor of typescript's `isNamedImportBindings`.
* @deprecated With TypeScript v5, in favor of typescript's `isNamedImportBindings`.
* @category Nodes - Type Guards
* @example
* ```ts
Expand Down

0 comments on commit a51f0e3

Please sign in to comment.