Skip to content

Commit 7018c23

Browse files
warmrobotskipjack
authored andcommitted
docs(contribute): correct schema example in writing-a-loader.md (#1753)
1 parent df39d5f commit 7018c23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/contribute/writing-a-loader.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,10 @@ import { getOptions } from 'loader-utils';
127127
import validateOptions from 'schema-utils';
128128

129129
const schema = {
130-
type: object,
130+
type: 'object',
131131
properties: {
132132
test: {
133-
type: string
133+
type: 'string'
134134
}
135135
}
136136
}

0 commit comments

Comments
 (0)