force module detection
avoid error TS2393: Duplicate function implementation
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
<li><a href="spline.html">Bezier spline demo</a></li>
|
||||
<li><a href="image.html">Image demo</a></li>
|
||||
<li><a href="move.html">Move demo</a></li>
|
||||
<li><a href="life.html">Game of life</a></li>
|
||||
</ul>
|
||||
</body>
|
||||
</html>
|
||||
|
@@ -22,7 +22,7 @@
|
||||
// "reactNamespace": "", /* Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit. */
|
||||
// "noLib": true, /* Disable including any library files, including the default lib.d.ts. */
|
||||
// "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */
|
||||
// "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */
|
||||
"moduleDetection": "force", /* Control what method is used to detect module-format JS files. */
|
||||
|
||||
/* Modules */
|
||||
"module": "es6", /* Specify what module code is generated. */
|
||||
|
Reference in New Issue
Block a user