Skip to content

Commit

Permalink
Adding more type information
Browse files Browse the repository at this point in the history
  • Loading branch information
flbulgarelli committed Jul 30, 2020
1 parent bb08567 commit 921cf14
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/** @type {number} */
mumuki.currentExerciseId = null;
(() => {
mumuki.load(() => {
// Set global currentExerciseId
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ var mumuki = mumuki || {};
*
* This method will use CustomEditor's sources if availble, or
* standard editor's content sources otherwise
*
* @returns {Submission}
*/
function getContent() {
let content = {};
Expand All @@ -97,6 +99,7 @@ var mumuki = mumuki || {};
content[it.name] = it.value;
});

// @ts-ignore
return content;
}

Expand Down
2 changes: 1 addition & 1 deletion jsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"module": "commonjs",
"module": "none",
"target": "es6",
"checkJs": true,
"allowSyntheticDefaultImports": true
Expand Down

0 comments on commit 921cf14

Please sign in to comment.