We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e8b3fe commit 86a20f3Copy full SHA for 86a20f3
src/support/docblocks.ts
@@ -302,7 +302,7 @@ const findInMapping = (
302
};
303
304
const getActualType = (cast: string | null, type: string): string => {
305
- const finalType = findInMapping(castMapping, cast) ?? findInMapping(typeMapping, type) ?? "mixed";
+ const finalType = findInMapping(castMapping, cast) || cast || findInMapping(typeMapping, type) || "mixed";
306
307
if (finalType.includes("\\") && !finalType.startsWith("\\")) {
308
return `\\${finalType}`;
0 commit comments