We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3004853 commit 81201aaCopy full SHA for 81201aa
1 file changed
src/index.js
@@ -42,6 +42,10 @@ function renderTypeAppend(type) {
42
} else if (name === 'custom') {
43
append = type.raw
44
} else if (name === 'shape') {
45
+ if (typeof value === 'string') {
46
+ return value
47
+ }
48
+
49
const keys = Object.keys(value)
50
if (!!keys.length) {
51
append = (
0 commit comments