2020-07-01から1ヶ月間の記事一覧
.mocharc.jsにてbootstrapをrequire "use strict"; const { dirname } = require("path"); module.exports = { require: [ __dirname + "/test/bootstrap"], timeout: 10000, }; /test/bootstrap.jsがmocha起動時に実行される // project root dir 基準の mo…
typescript type Handler = (name: string) => void; class A { public hello(name: string) { console.log("hello " + name, "this:`", this, "`"); } } class B { public world(name: string) { console.log("world " + name, "this:`", this, "`"); } } c…
メールアドレス m.kuku.lu JSON json.okiba.me