vscode支持canvas代码提示

在代码中加入

/** @type {HTMLCanvasElement} */   即可拥有canvas全部代码提示

猜你喜欢

转载自www.cnblogs.com/lkkk/p/12408373.html