diff --git a/packages/pass-style/src/remotable.js b/packages/pass-style/src/remotable.js index 0a4584f8b4..788ae19d12 100644 --- a/packages/pass-style/src/remotable.js +++ b/packages/pass-style/src/remotable.js @@ -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 {{ * (val: PassStyled): 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 (