Skip to content

Commit 0517f26

Browse files
Update createProp.js
1 parent cb9bc6a commit 0517f26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/createProp.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ var createProp = async function createProp(name, description, type, defaultValue
3737
//===== getter ==========
3838
var capital = name.charAt(0).toUpperCase() + name.slice(1);
3939
jsonObj.methods["get" + capital] = {
40-
returntype: type,
40+
returnType: type,
4141
description: "Return " + description,
4242
body: "return this." + name + ";"
4343
};
@@ -73,4 +73,4 @@ function getJsonFileName() {
7373
});
7474
}
7575

76-
exports.createProp = createProp;
76+
exports.createProp = createProp;

0 commit comments

Comments
 (0)