This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// basic tree interface | |
interface Tree { | |
name: string; | |
value: string; | |
children?: Tree[]; | |
} | |
// base tree interface with more properties | |
interface TreeLike<T extends Tree> extends Tree { | |
children?: T[]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Wechat Redirect | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take back our freedom to visit internet! | |
// @author alphakevin | |
// @match https://weixin110.qq.com/cgi-bin/mmspamsupport-bin/newredirectconfirmcgi?* | |
// @grant none | |
// ==/UserScript== |