mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-16 17:49:09 +00:00
chore: fix lint issues
This commit is contained in:
parent
5334353c84
commit
462ef26ea2
8 changed files with 27 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
import { WrappedKVNamespace } from './kv';
|
||||
import { WrappedKVNamespace } from '@roleypoly/worker-utils';
|
||||
|
||||
export const useRateLimiter =
|
||||
(kv: WrappedKVNamespace, key: string, timeoutSeconds: number) =>
|
||||
|
|
7
packages/interactions/bindings.d.ts
vendored
Normal file
7
packages/interactions/bindings.d.ts
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
export {};
|
||||
|
||||
declare global {
|
||||
const DISCORD_PUBLIC_KEY: string;
|
||||
const UI_PUBLIC_URI: string;
|
||||
const API_PUBLIC_URI: string;
|
||||
}
|
|
@ -10,6 +10,7 @@
|
|||
"@cloudflare/workers-types": "^2.2.2",
|
||||
"@roleypoly/types": "*",
|
||||
"@roleypoly/worker-utils": "*",
|
||||
"@types/node": "^16.4.10",
|
||||
"tweetnacl": "^1.0.3"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"compilerOptions": {
|
||||
"outDir": "./dist",
|
||||
"lib": ["esnext", "webworker", "ES2020.BigInt", "ES2020.Promise"],
|
||||
"types": ["@cloudflare/workers-types"],
|
||||
"types": ["@cloudflare/workers-types", "node"],
|
||||
"target": "ES2019"
|
||||
},
|
||||
"include": [
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
{
|
||||
"name": "@roleypoly/worker-utils",
|
||||
"version": "0.1.0",
|
||||
"scripts": {
|
||||
"lint:types": "tsc --noEmit"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@cloudflare/workers-types": "^2.2.2"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue