TypeScript introduces jquery database to report error

Xiaobai uses ts to write code for the first time. Ask the great gods to help answer ~
html introduces jquery

 <script src="node_modules/handlebars/dist/handlebars.js"></script>
    <script src="D:/exercise/TS/TODO/node_modules/jquery/dist/jquery.js"></script>
    <script>var exports = {};</script>
    <script src="js/todo.js"></script>

ts Code

import jQuery = require("jQuery");
import Handlebars = require("handlebars");


jQuery(function ($) {
    console.log("1111111");
    ...
    })

compiled js code

"use strict";
exports.__esModule = true;
var jQuery = require("jQuery");
var Handlebars = require("handlebars");

jQuery(function ($) {
    console.log("1111111");
    ...
    })

error report:

clipboard.png

clipboard.png

Sep.07,2021

require is not available. Now that it has been imported through < script > , you can just use it

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b386ae-e660.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b386ae-e660.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?