Skip to content

Commit

Permalink
Exempt relay-runtime jsdoc in one place (DefinitelyTyped#64723)
Browse files Browse the repository at this point in the history
no-redundant-jsdoc-2 is no longer crashing, meaning that it found a
`@module` reference in relay-runtime that's not meant to be a jsdoc tag.
  • Loading branch information
sandersn authored and Vicary A committed Jun 29, 2023
1 parent 8461978 commit 63f9583
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions types/relay-runtime/lib/store/RelayStoreTypes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -732,6 +732,7 @@ export interface FragmentPointer {
__fragmentOwner: RequestDescriptor;
}

// tslint:disable:no-redundant-jsdoc-2
/**
* The partial shape of an object with a '...Fragment @module(name: "...")'
* selection
Expand All @@ -741,6 +742,7 @@ export interface ModuleImportPointer {
readonly __module_component: unknown;
readonly $fragmentSpreads: unknown;
}
// tslint:enable:no-redundant-jsdoc-2

/**
* A callback for resolving a Selector from a source.
Expand Down

0 comments on commit 63f9583

Please sign in to comment.