1
0
Fork 0
out-of-your-element-fork-th.../matrix/read-registration.js

8 lines
No EOL
234 B
JavaScript

// @ts-check
const fs = require("fs")
const yaml = require("js-yaml")
/** @ts-ignore @type {import("../types").AppServiceRegistrationConfig} */
const reg = yaml.load(fs.readFileSync("registration.yaml", "utf8"))
module.exports = reg