summaryrefslogtreecommitdiff
path: root/src/client/docs/api
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-04-02 18:59:48 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-04-02 18:59:48 +0900
commit5ceb808c6f91a76e16e30b4c7b9efbac5f3b6931 (patch)
treee02e594010c2421df293fbbb1d3b15eef0eb12ec /src/client/docs/api
parentMerge branch 'master' of https://github.com/syuilo/misskey (diff)
downloadsharkey-5ceb808c6f91a76e16e30b4c7b9efbac5f3b6931.tar.gz
sharkey-5ceb808c6f91a76e16e30b4c7b9efbac5f3b6931.tar.bz2
sharkey-5ceb808c6f91a76e16e30b4c7b9efbac5f3b6931.zip
:v:
Diffstat (limited to 'src/client/docs/api')
-rw-r--r--src/client/docs/api/gulpfile.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/docs/api/gulpfile.ts b/src/client/docs/api/gulpfile.ts
index c986e0353a..9980ede231 100644
--- a/src/client/docs/api/gulpfile.ts
+++ b/src/client/docs/api/gulpfile.ts
@@ -151,7 +151,7 @@ gulp.task('doc:api:entities', async () => {
return;
}
files.forEach(file => {
- const entity = yaml.safeLoad(fs.readFileSync(file, 'utf-8'));
+ const entity = yaml.safeLoad(fs.readFileSync(file, 'utf-8')) as any;
const vars = {
name: entity.name,
desc: entity.desc,