Skip to content

Commit

Permalink
fix(pass-style): remove redundant vestigial @returns declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
erights committed May 5, 2024
1 parent 334b016 commit 9adce53
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/pass-style/src/remotable.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,12 +164,13 @@ const checkRemotable = (val, check) => {
};

/**
* Simple semantics, just tell what interface (or undefined) a remotable has.
* Simple semantics, just tell what interface spec a Remotable has,
* or undefined if not deemed to be a Remotable.
*
* @type {{
* <T extends string>(val: PassStyled<any, T>): T;
* (val: any): string | undefined;
* (val: any): InterfaceSpec | undefined;
* }}
* @returns the interface specification, or undefined if not a deemed to be a Remotable
*/
export const getInterfaceOf = val => {
if (
Expand Down

0 comments on commit 9adce53

Please sign in to comment.