Skip to content

Commit

Permalink
add types for ts compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
gossi committed Jan 5, 2022
1 parent 8827bad commit 4b9a174
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
6 changes: 6 additions & 0 deletions addon/system/upload.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export function upload<F = (request, response) => Promise<unknown>>(
file,
url,
opts,
uploadFn: F
): F;
5 changes: 5 additions & 0 deletions addon/system/uuid.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
function uuid(): string;

uuid.short = () => string;

export default uuid;
10 changes: 10 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4071,6 +4071,11 @@ can-symlink@^1.0.0:
dependencies:
tmp "0.0.28"

caniuse-lite@^1.0.30001280:
version "1.0.30001296"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001296.tgz#d99f0f3bee66544800b93d261c4be55a35f1cec8"
integrity sha512-WfrtPEoNSoeATDlf4y3QvkwiELl9GyPLISV5GejTbbQRtQx4LhsXmc9IQ6XCL2d7UxCyEzToEZNMeqR79OUw8Q==

caniuse-lite@^1.0.30001286:
version "1.0.30001291"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001291.tgz#08a8d2cfea0b2cf2e1d94dd795942d0daef6108c"
Expand Down Expand Up @@ -5061,6 +5066,11 @@ [email protected]:
resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d"
integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=

electron-to-chromium@^1.3.896:
version "1.4.33"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.33.tgz#1fe18961becb51c7db8ec739c655ef1b93d9349e"
integrity sha512-OVK1Ad3pHnmuXPhEfq85X8vUKr1UPNHryBnbKnyLcAfh8dPwoFjoDhDlP5KpPJIiymvSucZs48UBrE1250IxOw==

electron-to-chromium@^1.4.17:
version "1.4.25"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.25.tgz#ce95e6678f8c6893ae892c7e95a5000e83f1957f"
Expand Down

0 comments on commit 4b9a174

Please sign in to comment.