mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-11-25 22:01:12 +00:00
360196c8ae
* feat: add image upload method to http client * fix: Make files optional on UploadImageResponse * fix: Fix comment typo * fix: replace loose equals with strict equals * fix: Remove useless awaits * fix: Add explicit return types to image upload helper functions * fix: Include client headers in image upload request * fix: Change type of uploadImage arg to File | Buffer instead of Blob | Buffer * doc: Add doc string * refactor: Switch to using cross-fetch instead of node-fetch v3 * chore: remove unnecessary asyncs
17 lines
422 B
JSON
17 lines
422 B
JSON
{
|
|
"compilerOptions": {
|
|
"declaration": true,
|
|
"declarationDir": "./dist",
|
|
"module": "CommonJS",
|
|
"noImplicitAny": true,
|
|
"lib": ["es2017", "es7", "es6", "dom"],
|
|
"outDir": "./dist",
|
|
"target": "ES5",
|
|
"experimentalDecorators": true,
|
|
"strictNullChecks": true,
|
|
"moduleResolution": "Node",
|
|
"esModuleInterop": true
|
|
},
|
|
"include": ["src/**/*"],
|
|
"exclude": ["node_modules", "dist"]
|
|
}
|