Add TypeScript support for mastodon alias and image imports (#24895)

This commit is contained in:
たいち ひ 2023-05-08 18:28:36 +09:00 committed by GitHub
parent 76264e3fe8
commit 7c1305b3a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 45 additions and 4 deletions

View file

@ -7,7 +7,16 @@
"noEmit": true,
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true
"skipLibCheck": true,
"baseUrl": "./",
"paths": {
"mastodon": ["app/javascript/mastodon"],
"mastodon/*": ["app/javascript/mastodon/*"]
}
},
"include": ["app/javascript/mastodon", "app/javascript/packs"]
"include": [
"app/javascript/mastodon",
"app/javascript/packs",
"app/javascript/types"
]
}