chore: fix electron.d.ts file upload (#16335)

This commit is contained in:
Shelley Vohr 2019-01-08 22:51:49 -08:00 committed by GitHub
parent 17d2467932
commit f72d5a4184
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,7 +21,8 @@ const getHeaders = (filePath, fileName) => {
const options = { const options = {
'json': 'text/json', 'json': 'text/json',
'zip': 'application/zip', 'zip': 'application/zip',
'txt': 'text/plain' 'txt': 'text/plain',
'ts': 'application/typescript'
} }
return { return {