Skip to content

Commit

Permalink
fix: resolve all ESLint issues caused by upgrading package
Browse files Browse the repository at this point in the history
  • Loading branch information
rainx committed Oct 12, 2024
1 parent 0d7ff9f commit 65f143f
Show file tree
Hide file tree
Showing 37 changed files with 147 additions and 145 deletions.
61 changes: 30 additions & 31 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@rightcapital/phpdoc-parser",
"version": "0.4.72",
"description": "TypeScript version of PHPDoc parser with support for intersection types and generics",
"keywords": [
"PHP",
"PHPDoc",
Expand All @@ -11,22 +12,34 @@
"AST",
"Lexer"
],
"description": "TypeScript version of PHPDoc parser with support for intersection types and generics",
"main": "dist/index.js",
"repository": "https://github.com/RightCapitalHQ/phpdoc-parser",
"author": "RightCapital Ecosystem team <[email protected]>",
"license": "MIT",
"packageManager": "[email protected]",
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"engines": {
"node": ">=16.x",
"pnpm": ">=8.x"
},
"author": "RightCapital Ecosystem team <[email protected]>",
"main": "dist/index.js",
"files": [
"dist"
],
"scripts": {
"build": "pnpm run clean && tsc --project ./tsconfig.build.json",
"change": "beachball change --no-commit",
"check": "beachball check",
"clean": "tsc --build --clean ./tsconfig.build.json",
"commit": "cz",
"eslint": "eslint --report-unused-disable-directives 'src/**/*.ts*'",
"eslint:fix": "eslint --report-unused-disable-directives --fix 'src/**/*.ts*'",
"preinstall": "npx only-allow pnpm",
"test": "vitest"
},
"config": {
"commitizen": {
"path": "@commitlint/cz-commitlint"
}
},
"dependencies": {
"@types/node": "20.16.11",
"lodash": "4.17.21",
"typescript": "5.6.3"
},
"devDependencies": {
"@babel/core": "7.25.8",
"@babel/preset-env": "7.25.8",
Expand All @@ -46,26 +59,12 @@
"prettier": "3.3.3",
"vitest": "2.1.2"
},
"dependencies": {
"@types/node": "20.16.11",
"lodash": "4.17.21",
"typescript": "5.6.3"
},
"scripts": {
"commit": "cz",
"clean": "tsc --build --clean ./tsconfig.build.json",
"change": "beachball change --no-commit",
"check": "beachball check",
"build": "pnpm run clean && tsc --project ./tsconfig.build.json",
"preinstall": "npx only-allow pnpm",
"prepare": "husky install",
"eslint": "eslint --report-unused-disable-directives 'src/**/*.ts*'",
"eslint:fix": "eslint --report-unused-disable-directives --fix 'src/**/*.ts*'",
"test": "vitest"
"packageManager": "[email protected]",
"engines": {
"node": ">=16.x",
"pnpm": ">=8.x"
},
"config": {
"commitizen": {
"path": "@commitlint/cz-commitlint"
}
"publishConfig": {
"registry": "https://registry.npmjs.org"
}
}
114 changes: 57 additions & 57 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,76 +1,76 @@
export { Lexer } from './phpdoc-parser/lexer/lexer';
export { ConstExprParser } from './phpdoc-parser/parser/const-expr-parser';
export { StringUnescaper } from './phpdoc-parser/parser/string-unescaper';
export { ParserException } from './phpdoc-parser/parser/parser-exception';
export { TokenIterator } from './phpdoc-parser/parser/token-iterator';
export { PhpDocParser } from './phpdoc-parser/parser/php-doc-parser';
export { TypeParser } from './phpdoc-parser/parser/type-parser';
export { BaseNode } from './phpdoc-parser/ast/base-node';
export type { Node } from './phpdoc-parser/ast/node';
export { NodeTraverser } from './phpdoc-parser/ast/node-traverser';
export { CloningVisitor } from './phpdoc-parser/ast/node-visitor/cloning-visitor';
export type { NodeVisitor } from './phpdoc-parser/ast/node-visitor';
export { NodeTraverserState, Attribute } from './phpdoc-parser/ast/types';
export { IdentifierTypeNode } from './phpdoc-parser/ast/type/identifier-type-node';
export { CallableTypeParameterNode } from './phpdoc-parser/ast/type/callable-type-parameter-node';
export { OffsetAccessTypeNode } from './phpdoc-parser/ast/type/offset-access-type-node';
export { ArrayShapeItemNode } from './phpdoc-parser/ast/type/array-shape-item-node';
export { ConditionalTypeNode } from './phpdoc-parser/ast/type/conditional-type-node';
export { ConditionalTypeForParameterNode } from './phpdoc-parser/ast/type/conditional-type-for-parameter-node';
export { ThisTypeNode } from './phpdoc-parser/ast/type/this-type-node';
export { IntersectionTypeNode } from './phpdoc-parser/ast/type/intersection-type-node';
export { ObjectShapeItemNode } from './phpdoc-parser/ast/type/object-shape-item-node';
export { UnionTypeNode } from './phpdoc-parser/ast/type/union-type-node';
export { TypeNode } from './phpdoc-parser/ast/type/type-node';
export { GenericTypeNode } from './phpdoc-parser/ast/type/generic-type-node';
export { CallableTypeNode } from './phpdoc-parser/ast/type/callable-type-node';
export { ArrayTypeNode } from './phpdoc-parser/ast/type/array-type-node';
export { ArrayShapeNode } from './phpdoc-parser/ast/type/array-shape-node';
export { InvalidTypeNode } from './phpdoc-parser/ast/type/invalid-type-node';
export { ConstTypeNode } from './phpdoc-parser/ast/type/const-type-node';
export { ObjectShapeNode } from './phpdoc-parser/ast/type/object-shape-node';
export { NullableTypeNode } from './phpdoc-parser/ast/type/nullable-type-node';
export { AbstractNodeVisitor } from './phpdoc-parser/ast/abstract-node-visitor';
export { ConstExprFloatNode } from './phpdoc-parser/ast/const-expr/const-expr-float-node';
export { BaseNode } from './phpdoc-parser/ast/base-node';
export { ConstExprArrayItemNode } from './phpdoc-parser/ast/const-expr/const-expr-array-item-node';
export { ConstExprArrayNode } from './phpdoc-parser/ast/const-expr/const-expr-array-node';
export { ConstExprFalseNode } from './phpdoc-parser/ast/const-expr/const-expr-false-node';
export { QuoteAwareConstExprStringNode } from './phpdoc-parser/ast/const-expr/quote-aware-const-expr-string-node';
export { ConstExprNullNode } from './phpdoc-parser/ast/const-expr/const-expr-null-node';
export { ConstExprFloatNode } from './phpdoc-parser/ast/const-expr/const-expr-float-node';
export { ConstExprIntegerNode } from './phpdoc-parser/ast/const-expr/const-expr-integer-node';
export { ConstExprNode } from './phpdoc-parser/ast/const-expr/const-expr-node';
export { ConstExprArrayNode } from './phpdoc-parser/ast/const-expr/const-expr-array-node';
export { ConstExprNullNode } from './phpdoc-parser/ast/const-expr/const-expr-null-node';
export { ConstExprStringNode } from './phpdoc-parser/ast/const-expr/const-expr-string-node';
export { ConstExprTrueNode } from './phpdoc-parser/ast/const-expr/const-expr-true-node';
export { ConstFetchNode } from './phpdoc-parser/ast/const-expr/const-fetch-node';
export { ParamOutTagValueNode } from './phpdoc-parser/ast/php-doc/param-out-tag-value-node';
export { PhpDocNode } from './phpdoc-parser/ast/php-doc/php-doc-node';
export { QuoteAwareConstExprStringNode } from './phpdoc-parser/ast/const-expr/quote-aware-const-expr-string-node';
export type { Node } from './phpdoc-parser/ast/node';
export { NodeTraverser } from './phpdoc-parser/ast/node-traverser';
export type { NodeVisitor } from './phpdoc-parser/ast/node-visitor';
export { CloningVisitor } from './phpdoc-parser/ast/node-visitor/cloning-visitor';
export { AssertTagMethodValueNode } from './phpdoc-parser/ast/php-doc/assert-tag-method-value-node';
export { AssertTagPropertyValueNode } from './phpdoc-parser/ast/php-doc/assert-tag-property-value-node';
export { AssertTagValueNode } from './phpdoc-parser/ast/php-doc/assert-tag-value-node';
export { UsesTagValueNode } from './phpdoc-parser/ast/php-doc/uses-tag-value-node';
export { InvalidTagValueNode } from './phpdoc-parser/ast/php-doc/invalid-tag-value-node';
export { MethodTagValueNode } from './phpdoc-parser/ast/php-doc/method-tag-value-node';
export { DeprecatedTagValueNode } from './phpdoc-parser/ast/php-doc/deprecated-tag-value-node';
export { ExtendsTagValueNode } from './phpdoc-parser/ast/php-doc/extends-tag-value-node';
export { ParamTagValueNode } from './phpdoc-parser/ast/php-doc/param-tag-value-node';
export { GenericTagValueNode } from './phpdoc-parser/ast/php-doc/generic-tag-value-node';
export { TypeAliasTagValueNode } from './phpdoc-parser/ast/php-doc/type-alias-tag-value-node';
export { AssertTagPropertyValueNode } from './phpdoc-parser/ast/php-doc/assert-tag-property-value-node';
export { TypelessParamTagValueNode } from './phpdoc-parser/ast/php-doc/typeless-param-tag-value-node';
export { VarTagValueNode } from './phpdoc-parser/ast/php-doc/var-tag-value-node';
export { PhpDocTextNode } from './phpdoc-parser/ast/php-doc/php-doc-text-node';
export { MethodTagValueParameterNode } from './phpdoc-parser/ast/php-doc/method-tag-value-parameter-node';
export { AssertTagMethodValueNode } from './phpdoc-parser/ast/php-doc/assert-tag-method-value-node';
export { TemplateTagValueNode } from './phpdoc-parser/ast/php-doc/template-tag-value-node';
export * from './phpdoc-parser/ast/php-doc/helpers';
export { ImplementsTagValueNode } from './phpdoc-parser/ast/php-doc/implements-tag-value-node';
export { ThrowsTagValueNode } from './phpdoc-parser/ast/php-doc/throws-tag-value-node';
export { SelfOutTagValueNode } from './phpdoc-parser/ast/php-doc/self-out-tag-value-node';
export { PropertyTagValueNode } from './phpdoc-parser/ast/php-doc/property-tag-value-node';
export { TypeAliasImportTagValueNode } from './phpdoc-parser/ast/php-doc/type-alias-import-tag-value-node';
export { PhpDocChildNode } from './phpdoc-parser/ast/php-doc/php-doc-child-node';
export { InvalidTagValueNode } from './phpdoc-parser/ast/php-doc/invalid-tag-value-node';
export { MethodTagValueNode } from './phpdoc-parser/ast/php-doc/method-tag-value-node';
export { MethodTagValueParameterNode } from './phpdoc-parser/ast/php-doc/method-tag-value-parameter-node';
export { MixinTagValueNode } from './phpdoc-parser/ast/php-doc/mixin-tag-value-node';
export { ParamOutTagValueNode } from './phpdoc-parser/ast/php-doc/param-out-tag-value-node';
export { ParamTagValueNode } from './phpdoc-parser/ast/php-doc/param-tag-value-node';
export { PhpDocChildNode } from './phpdoc-parser/ast/php-doc/php-doc-child-node';
export { PhpDocNode } from './phpdoc-parser/ast/php-doc/php-doc-node';
export { PhpDocTagNode } from './phpdoc-parser/ast/php-doc/php-doc-tag-node';
export { PhpDocTagValueNode } from './phpdoc-parser/ast/php-doc/php-doc-tag-value-node';
export { PhpDocTextNode } from './phpdoc-parser/ast/php-doc/php-doc-text-node';
export { PropertyTagValueNode } from './phpdoc-parser/ast/php-doc/property-tag-value-node';
export { ReturnTagValueNode } from './phpdoc-parser/ast/php-doc/return-tag-value-node';
export { SelfOutTagValueNode } from './phpdoc-parser/ast/php-doc/self-out-tag-value-node';
export { TemplateTagValueNode } from './phpdoc-parser/ast/php-doc/template-tag-value-node';
export { ThrowsTagValueNode } from './phpdoc-parser/ast/php-doc/throws-tag-value-node';
export { TypeAliasImportTagValueNode } from './phpdoc-parser/ast/php-doc/type-alias-import-tag-value-node';
export { TypeAliasTagValueNode } from './phpdoc-parser/ast/php-doc/type-alias-tag-value-node';
export { TypelessParamTagValueNode } from './phpdoc-parser/ast/php-doc/typeless-param-tag-value-node';
export { UsesTagValueNode } from './phpdoc-parser/ast/php-doc/uses-tag-value-node';
export { VarTagValueNode } from './phpdoc-parser/ast/php-doc/var-tag-value-node';
export { ArrayShapeItemNode } from './phpdoc-parser/ast/type/array-shape-item-node';
export { ArrayShapeNode } from './phpdoc-parser/ast/type/array-shape-node';
export { ArrayTypeNode } from './phpdoc-parser/ast/type/array-type-node';
export { CallableTypeNode } from './phpdoc-parser/ast/type/callable-type-node';
export { CallableTypeParameterNode } from './phpdoc-parser/ast/type/callable-type-parameter-node';
export { ConditionalTypeForParameterNode } from './phpdoc-parser/ast/type/conditional-type-for-parameter-node';
export { ConditionalTypeNode } from './phpdoc-parser/ast/type/conditional-type-node';
export { ConstTypeNode } from './phpdoc-parser/ast/type/const-type-node';
export { GenericTypeNode } from './phpdoc-parser/ast/type/generic-type-node';
export { IdentifierTypeNode } from './phpdoc-parser/ast/type/identifier-type-node';
export { IntersectionTypeNode } from './phpdoc-parser/ast/type/intersection-type-node';
export { InvalidTypeNode } from './phpdoc-parser/ast/type/invalid-type-node';
export { NullableTypeNode } from './phpdoc-parser/ast/type/nullable-type-node';
export { ObjectShapeItemNode } from './phpdoc-parser/ast/type/object-shape-item-node';
export { ObjectShapeNode } from './phpdoc-parser/ast/type/object-shape-node';
export { OffsetAccessTypeNode } from './phpdoc-parser/ast/type/offset-access-type-node';
export { ThisTypeNode } from './phpdoc-parser/ast/type/this-type-node';
export { TypeNode } from './phpdoc-parser/ast/type/type-node';
export { UnionTypeNode } from './phpdoc-parser/ast/type/union-type-node';
export { Attribute,NodeTraverserState } from './phpdoc-parser/ast/types';
export { Lexer } from './phpdoc-parser/lexer/lexer';
export { ConstExprParser } from './phpdoc-parser/parser/const-expr-parser';
export { ParserException } from './phpdoc-parser/parser/parser-exception';
export { PhpDocParser } from './phpdoc-parser/parser/php-doc-parser';
export { StringUnescaper } from './phpdoc-parser/parser/string-unescaper';
export { TokenIterator } from './phpdoc-parser/parser/token-iterator';
export { TypeParser } from './phpdoc-parser/parser/type-parser';
export { Printer } from './phpdoc-parser/printer/printer';
export * from './phpdoc-parser/transpiler/php-doc-to-typescript-type-transpiler';
export * from './phpdoc-parser/ast/php-doc/helpers';
export * from './phpdoc-parser/transpiler/helpers';
export * from './phpdoc-parser/transpiler/php-doc-to-typescript-type-transpiler';
2 changes: 1 addition & 1 deletion src/phpdoc-parser/ast/const-expr/const-expr-node.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { BaseNode } from '../base-node';
import type { ConstExprArrayItemNode } from './const-expr-array-item-node';
import type { ConstExprArrayNode } from './const-expr-array-node';
import type { ConstExprFalseNode } from './const-expr-false-node';
Expand All @@ -8,7 +9,6 @@ import type { ConstExprStringNode } from './const-expr-string-node';
import type { ConstExprTrueNode } from './const-expr-true-node';
import type { ConstFetchNode } from './const-fetch-node';
import type { QuoteAwareConstExprStringNode } from './quote-aware-const-expr-string-node';
import { BaseNode } from '../base-node';

export class ConstExprNode extends BaseNode {
public getNodeType(): string {
Expand Down
1 change: 1 addition & 0 deletions src/phpdoc-parser/ast/node-visitor/cloning-visitor.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { cloneDeep } from 'lodash';

import { AbstractNodeVisitor } from '../abstract-node-visitor';
import type { Node } from '../node';
import { Attribute } from '../types';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PhpDocTagValueNode } from './php-doc-tag-value-node';
import type { TypeNode } from '../type/type-node';
import { PhpDocTagValueNode } from './php-doc-tag-value-node';

export class AssertTagMethodValueNode extends PhpDocTagValueNode {
constructor(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PhpDocTagValueNode } from './php-doc-tag-value-node';
import type { TypeNode } from '../type/type-node';
import { PhpDocTagValueNode } from './php-doc-tag-value-node';

export class AssertTagPropertyValueNode extends PhpDocTagValueNode {
constructor(
Expand Down
2 changes: 1 addition & 1 deletion src/phpdoc-parser/ast/php-doc/assert-tag-value-node.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PhpDocTagValueNode } from './php-doc-tag-value-node';
import type { TypeNode } from '../type/type-node';
import { PhpDocTagValueNode } from './php-doc-tag-value-node';

export class AssertTagValueNode extends PhpDocTagValueNode {
// Defining Types -- Types are set explicitly for public variables
Expand Down
2 changes: 1 addition & 1 deletion src/phpdoc-parser/ast/php-doc/extends-tag-value-node.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PhpDocTagValueNode } from './php-doc-tag-value-node';
import type { GenericTypeNode } from '../type/generic-type-node';
import { PhpDocTagValueNode } from './php-doc-tag-value-node';

export class ExtendsTagValueNode extends PhpDocTagValueNode {
constructor(
Expand Down
2 changes: 1 addition & 1 deletion src/phpdoc-parser/ast/php-doc/implements-tag-value-node.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PhpDocTagValueNode } from './php-doc-tag-value-node';
import type { GenericTypeNode } from '../type/generic-type-node';
import { PhpDocTagValueNode } from './php-doc-tag-value-node';

export class ImplementsTagValueNode extends PhpDocTagValueNode {
constructor(
Expand Down
2 changes: 1 addition & 1 deletion src/phpdoc-parser/ast/php-doc/invalid-tag-value-node.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PhpDocTagValueNode } from './php-doc-tag-value-node';
import { ParserException } from '../../parser/parser-exception';
import { PhpDocTagValueNode } from './php-doc-tag-value-node';

export class InvalidTagValueNode extends PhpDocTagValueNode {
private exceptionArgs: ConstructorParameters<typeof ParserException>;
Expand Down
2 changes: 1 addition & 1 deletion src/phpdoc-parser/ast/php-doc/method-tag-value-node.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { TypeNode } from '../type/type-node';
import type { MethodTagValueParameterNode } from './method-tag-value-parameter-node';
import { PhpDocTagValueNode } from './php-doc-tag-value-node';
import type { TemplateTagValueNode } from './template-tag-value-node';
import type { TypeNode } from '../type/type-node';

export class MethodTagValueNode extends PhpDocTagValueNode {
constructor(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { PhpDocTagValueNode } from './php-doc-tag-value-node';
import type { ConstExprNode } from '../const-expr/const-expr-node';
import type { TypeNode } from '../type/type-node';
import { PhpDocTagValueNode } from './php-doc-tag-value-node';

export class MethodTagValueParameterNode extends PhpDocTagValueNode {
constructor(
Expand Down
2 changes: 1 addition & 1 deletion src/phpdoc-parser/ast/php-doc/mixin-tag-value-node.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PhpDocTagValueNode } from './php-doc-tag-value-node';
import type { TypeNode } from '../type/type-node';
import { PhpDocTagValueNode } from './php-doc-tag-value-node';

export class MixinTagValueNode extends PhpDocTagValueNode {
constructor(
Expand Down
2 changes: 1 addition & 1 deletion src/phpdoc-parser/ast/php-doc/param-out-tag-value-node.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PhpDocTagValueNode } from './php-doc-tag-value-node';
import type { TypeNode } from '../type/type-node';
import { PhpDocTagValueNode } from './php-doc-tag-value-node';

export class ParamOutTagValueNode extends PhpDocTagValueNode {
constructor(
Expand Down
2 changes: 1 addition & 1 deletion src/phpdoc-parser/ast/php-doc/param-tag-value-node.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PhpDocTagValueNode } from './php-doc-tag-value-node';
import type { TypeNode } from '../type/type-node';
import { PhpDocTagValueNode } from './php-doc-tag-value-node';

export class ParamTagValueNode extends PhpDocTagValueNode {
constructor(
Expand Down
2 changes: 1 addition & 1 deletion src/phpdoc-parser/ast/php-doc/php-doc-node.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { BaseNode } from '../base-node';
import { DeprecatedTagValueNode } from './deprecated-tag-value-node';
import { ExtendsTagValueNode } from './extends-tag-value-node';
import { ImplementsTagValueNode } from './implements-tag-value-node';
Expand All @@ -13,7 +14,6 @@ import { ThrowsTagValueNode } from './throws-tag-value-node';
import { TypelessParamTagValueNode } from './typeless-param-tag-value-node';
import { UsesTagValueNode } from './uses-tag-value-node';
import { VarTagValueNode } from './var-tag-value-node';
import { BaseNode } from '../base-node';

export class PhpDocNode extends BaseNode {
constructor(public children: PhpDocChildNode[]) {
Expand Down
2 changes: 1 addition & 1 deletion src/phpdoc-parser/ast/php-doc/property-tag-value-node.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PhpDocTagValueNode } from './php-doc-tag-value-node';
import type { TypeNode } from '../type/type-node';
import { PhpDocTagValueNode } from './php-doc-tag-value-node';

export class PropertyTagValueNode extends PhpDocTagValueNode {
constructor(
Expand Down
2 changes: 1 addition & 1 deletion src/phpdoc-parser/ast/php-doc/return-tag-value-node.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PhpDocTagValueNode } from './php-doc-tag-value-node';
import type { TypeNode } from '../type/type-node';
import { PhpDocTagValueNode } from './php-doc-tag-value-node';

export class ReturnTagValueNode extends PhpDocTagValueNode {
constructor(
Expand Down
2 changes: 1 addition & 1 deletion src/phpdoc-parser/ast/php-doc/self-out-tag-value-node.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PhpDocTagValueNode } from './php-doc-tag-value-node';
import type { TypeNode } from '../type/type-node';
import { PhpDocTagValueNode } from './php-doc-tag-value-node';

export class SelfOutTagValueNode extends PhpDocTagValueNode {
constructor(
Expand Down
2 changes: 1 addition & 1 deletion src/phpdoc-parser/ast/php-doc/template-tag-value-node.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PhpDocTagValueNode } from './php-doc-tag-value-node';
import type { TypeNode } from '../type/type-node';
import { PhpDocTagValueNode } from './php-doc-tag-value-node';

export class TemplateTagValueNode extends PhpDocTagValueNode {
constructor(
Expand Down
2 changes: 1 addition & 1 deletion src/phpdoc-parser/ast/php-doc/throws-tag-value-node.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PhpDocTagValueNode } from './php-doc-tag-value-node';
import type { TypeNode } from '../type/type-node';
import { PhpDocTagValueNode } from './php-doc-tag-value-node';

export class ThrowsTagValueNode extends PhpDocTagValueNode {
constructor(
Expand Down
Loading

0 comments on commit 65f143f

Please sign in to comment.