mirror of
https://github.com/hansputera/tiktok-dl.git
synced 2026-04-05 19:51:57 +02:00
feat(config): add useragents.d.ts
Signed-off-by: hansputera <hanifdwyputrasembiring@gmail.com>
This commit is contained in:
@@ -10,8 +10,8 @@ Video TikTok Downloader using 🧰 NodeJS with Watermark and Non-Watermark!
|
||||
|
||||
## Development 👷
|
||||
- Clone/fork into a directory you want.
|
||||
- Install all dependencies correctly (`pnpm install`)
|
||||
- Ran `pnpm run dev` (default web port: `3000`)
|
||||
- Install all dependencies correctly (`yarn install`)
|
||||
- Ran `yarn dev` (default web port: `3000`)
|
||||
|
||||
# Configuration 🔑
|
||||
|
||||
|
||||
@@ -5,7 +5,8 @@
|
||||
"files": [
|
||||
"eslint.js",
|
||||
"eslint.typescript.js",
|
||||
"useragents.js"
|
||||
"useragents.js",
|
||||
"useragents.d.ts"
|
||||
],
|
||||
"dependencies": {
|
||||
"eslint-config-google": "^0.14.0"
|
||||
|
||||
5
packages/config/useragents.d.ts
vendored
Normal file
5
packages/config/useragents.d.ts
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
declare const _default: {
|
||||
random: () => string;
|
||||
}
|
||||
|
||||
export = _default;
|
||||
@@ -14,6 +14,7 @@
|
||||
"skipLibCheck": true,
|
||||
"skipDefaultLibCheck": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
"resolveJsonModule": true
|
||||
},
|
||||
"exclude": ["node_modules", "dist"]
|
||||
}
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"allowJs": true,
|
||||
"noEmit": true,
|
||||
"strict": true,
|
||||
"strictBindCallApply": true,
|
||||
"strictFunctionTypes": true,
|
||||
"strictNullChecks": true,
|
||||
"outDir": "dist",
|
||||
"target": "ES2016",
|
||||
"module": "CommonJS",
|
||||
"removeComments": true,
|
||||
"esModuleInterop": true,
|
||||
"skipLibCheck": true,
|
||||
"skipDefaultLibCheck": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"experimentalDecorators": true
|
||||
},
|
||||
"exclude": ["node_modules", "dist"]
|
||||
}
|
||||
Reference in New Issue
Block a user