Skip to content

Instantly share code, notes, and snippets.

View Andrew-He's full-sized avatar
💭
I may be slow to respond.

jinxin Andrew-He

💭
I may be slow to respond.
View GitHub Profile
@Andrew-He
Andrew-He / adder
Last active October 14, 2021 08:52
async pair adder
simple async summer
@Andrew-He
Andrew-He / App.ts
Last active March 3, 2020 12:13
ts es6异常捕获装饰器
import Catch from './catched'
const getDataErrorHandler = (error, ctx) => {
ctx.errorMessage = error.message
}
class App {
errorMessage = ''