force module detection

avoid error TS2393: Duplicate function implementation
This commit is contained in:
2025-08-05 11:15:05 +02:00
parent 353bae1adb
commit 6724d34823
2 changed files with 2 additions and 1 deletions

View File

@@ -20,6 +20,7 @@
<li><a href="spline.html">Bezier spline demo</a></li> <li><a href="spline.html">Bezier spline demo</a></li>
<li><a href="image.html">Image demo</a></li> <li><a href="image.html">Image demo</a></li>
<li><a href="move.html">Move demo</a></li> <li><a href="move.html">Move demo</a></li>
<li><a href="life.html">Game of life</a></li>
</ul> </ul>
</body> </body>
</html> </html>

View File

@@ -22,7 +22,7 @@
// "reactNamespace": "", /* Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit. */ // "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. */ // "noLib": true, /* Disable including any library files, including the default lib.d.ts. */
// "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */ // "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 */ /* Modules */
"module": "es6", /* Specify what module code is generated. */ "module": "es6", /* Specify what module code is generated. */