玩具数据结构
用TypeScript实现的基础数据结构
调试
调试代码前先确保电脑全局安装了typescript , ts-node和vscode
配置launch.json如下:
{
" version " : " 0.2.0 " ,
" configurations " : [
{
" name " : " Current TS File " ,
" type " : " pwa-node " ,
" request " : " launch " ,
" program " : " ${workspaceRoot}/node_modules/ts-node/dist/bin.js " ,
" args " : [
1